mirror of https://github.com/Wox-launcher/Wox
Fix code sign issue
This commit is contained in:
parent
6382b5aa7f
commit
c7f227db54
|
@ -950,10 +950,10 @@ packages:
|
|||
dependency: transitive
|
||||
description:
|
||||
name: vm_service
|
||||
sha256: "5c5f338a667b4c644744b661f309fb8080bb94b18a7e91ef1dbd343bed00ed6d"
|
||||
sha256: f652077d0bdf60abe4c1f6377448e8655008eef28f128bc023f7b5e8dfeb48fc
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "14.2.5"
|
||||
version: "14.2.4"
|
||||
web:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
|
33
justfile
33
justfile
|
@ -15,13 +15,6 @@ default:
|
|||
@precommit:
|
||||
cd Wox.UI.React && pnpm build && cd ..
|
||||
|
||||
@plugins:
|
||||
# build plugins
|
||||
#just _build_dev_nodejs_plugin Wox.Plugin.ProcessKiller ~/.wox/wox-user/plugins
|
||||
|
||||
just _build_dev_nodejs_plugin Wox.Plugin.ProcessKiller ~/icloud/wox/plugins
|
||||
just _build_dev_nodejs_plugin_chatgpt Wox.Plugin.Chatgpt ~/icloud/wox/plugins
|
||||
|
||||
@ci_plugin:
|
||||
cd ci && go run plugin.go
|
||||
|
||||
|
@ -58,6 +51,7 @@ default:
|
|||
cp ../Assets/mac/Info.plist {{name}}.app/Contents/Info.plist && \
|
||||
cp ../Assets/mac/app.icns {{name}}.app/Contents/Resources/app.icns && \
|
||||
mv {{name}}.app Wox.app && \
|
||||
security unlock-keychain -p ${{ secrets.KEYCHAINPWD }} login.keychain && \
|
||||
codesign --options=runtime --force --deep --sign "Developer ID Application: jiajuan mao (AGYCFD2ZGN)" Wox.app/Contents/MacOS/wox && \
|
||||
create-dmg --codesign "Developer ID Application: jiajuan mao (AGYCFD2ZGN)" --notarize "wox" --volname "Wox Installer" \
|
||||
--volicon "../Assets/mac/app.icns" \
|
||||
|
@ -74,22 +68,6 @@ default:
|
|||
just dev
|
||||
cd Wox && go test ./...
|
||||
|
||||
@_build_dev_nodejs_plugin pluginName directory:
|
||||
rm -rf {{directory}}/{{pluginName}}
|
||||
cd Plugins/{{pluginName}} && pnpm install && pnpm run build && cd ..
|
||||
mkdir -p {{directory}}/{{pluginName}}
|
||||
cp -r Plugins/{{pluginName}}/dist/* {{directory}}/{{pluginName}}/
|
||||
cp Plugins/{{pluginName}}/plugin.json {{directory}}/{{pluginName}}/plugin.json
|
||||
cp -r Plugins/{{pluginName}}/images {{directory}}/{{pluginName}}/images
|
||||
|
||||
@_build_dev_nodejs_plugin_chatgpt pluginName directory:
|
||||
rm -rf {{directory}}/{{pluginName}}
|
||||
cd Plugins/{{pluginName}} && just build && cd ..
|
||||
mkdir -p {{directory}}/{{pluginName}}
|
||||
cp -r Plugins/{{pluginName}}/dist/* {{directory}}/{{pluginName}}/
|
||||
cp Plugins/{{pluginName}}/Wox.Plugin.Chatgpt.Server/plugin.json {{directory}}/{{pluginName}}/plugin.json
|
||||
cp -r Plugins/{{pluginName}}/Wox.Plugin.Chatgpt.Server/images {{directory}}/{{pluginName}}/images
|
||||
|
||||
@_build_hosts:
|
||||
# build hosts
|
||||
rm -rf Wox/resource/hosts
|
||||
|
@ -97,15 +75,6 @@ default:
|
|||
just _build_nodejs_host Wox/resource/hosts
|
||||
just _build_python_host Wox/resource/hosts
|
||||
|
||||
@_build_electron:
|
||||
cd Wox.UI.React && pnpm install && pnpm build && cd ..
|
||||
|
||||
# electron
|
||||
rm -rf Wox/resource/ui/electron
|
||||
mkdir -p Wox/resource/ui/electron
|
||||
cp Wox.UI.Electron/main.js Wox/resource/ui/electron/main.js
|
||||
cp Wox.UI.Electron/preload.js Wox/resource/ui/electron/preload.js
|
||||
|
||||
@_build_flutter:
|
||||
# flutter
|
||||
cd Wox.UI.Flutter/wox && flutter clean && flutter build {{current_flutter_target}} && cd ..
|
||||
|
|
Loading…
Reference in New Issue