File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 6
6
"scripts" : {
7
7
"dev" : " vite" ,
8
8
"build" : " vite build" ,
9
- "build electron" : " vite build && vite build --mode electron && cd ../../../../WGDashboard-Desktop && electron-builder" ,
9
+ "build electron" : " vite build && vite build --mode electron && cd ../../../../WGDashboard-Desktop && electron-builder --mac --win " ,
10
10
"preview" : " vite preview"
11
11
},
12
12
"dependencies" : {
Original file line number Diff line number Diff line change 2
2
3
3
# wgd.sh - Copyright(C) 2024 Donald Zou [https://github.com/donaldzou]
4
4
# Under Apache-2.0 License
5
- trap " kill $TOP_PID "
5
+ # trap "kill $TOP_PID"
6
6
export TOP_PID=$$
7
7
8
8
app_name=" dashboard.py"
@@ -337,7 +337,7 @@ start_wgd_debug() {
337
337
}
338
338
339
339
update_wgd () {
340
- new_ver=$( venv_python -c " import json; import urllib.request; data = urllib.request.urlopen('https://api.github.com/repos/donaldzou/WGDashboard/releases/latest').read(); output = json.loads(data);print(output['tag_name'])" )
340
+ new_ver=$( $ venv_python -c " import json; import urllib.request; data = urllib.request.urlopen('https://api.github.com/repos/donaldzou/WGDashboard/releases/latest').read(); output = json.loads(data);print(output['tag_name'])" )
341
341
printf " %s\n" " $dashes "
342
342
printf " [WGDashboard] Are you sure you want to update to the %s? (Y/N): " " $new_ver "
343
343
read up
You can’t perform that action at this time.
0 commit comments