File tree Expand file tree Collapse file tree 3 files changed +12
-27
lines changed
Expand file tree Collapse file tree 3 files changed +12
-27
lines changed Original file line number Diff line number Diff line change @@ -19,10 +19,10 @@ jobs:
1919 matrix :
2020 include :
2121 - platform : ' macos-latest'
22- args : ' --target aarch64-apple-darwin --bundles dmg '
22+ args : ' --target aarch64-apple-darwin --bundles app '
2323 arch : ' aarch64'
2424 - platform : ' macos-latest'
25- args : ' --target x86_64-apple-darwin --bundles dmg '
25+ args : ' --target x86_64-apple-darwin --bundles app '
2626 arch : ' x86_64'
2727
2828 runs-on : ${{ matrix.platform }}
6565
6666 ### Installation Notes
6767
68- **macOS**: Download the `.dmg ` file for your architecture:
69- - `presto_x.x.x_aarch64.dmg ` for Apple Silicon (M1/M2/M3 Macs)
70- - `presto_x.x.x_x64.dmg ` for Intel Macs
68+ **macOS**: Download the `.app ` file for your architecture:
69+ - `presto_x.x.x_aarch64.app.tar.gz ` for Apple Silicon (M1/M2/M3 Macs)
70+ - `presto_x.x.x_x64.app.tar.gz ` for Intel Macs
7171
7272 ### Auto-Updates
7373
Original file line number Diff line number Diff line change @@ -175,7 +175,8 @@ update_homebrew_tap() {
175175# Funzione per fare la build
176176build_app () {
177177 print_step " Avvio build dell'applicazione..."
178- npm run build
178+ # Modifica per utilizzare bundles app invece di dmg
179+ npm run tauri build -- --bundles app
179180 print_success " Build completata"
180181}
181182
@@ -312,7 +313,7 @@ main() {
312313 # Mostra informazioni sui file generati
313314 if [[ -d " src-tauri/target" ]]; then
314315 echo " File di build generati:"
315- find src-tauri/target -name " *.dmg " -o -name " *.app" -o -name " *.deb" -o -name " *.AppImage" 2> /dev/null | head -5
316+ find src-tauri/target -name " *.app.tar.gz " -o -name " *.app" -o -name " *.deb" -o -name " *.AppImage" 2> /dev/null | head -5
316317 fi
317318}
318319
Original file line number Diff line number Diff line change 2424 }
2525 },
2626 "bundle" : {
27- "createUpdaterArtifacts " : true ,
27+ "active " : true ,
2828 "targets" : [
29- " dmg" ,
3029 " app"
3130 ],
31+ "createUpdaterArtifacts" : true ,
3232 "icon" : [
3333 " icons/32x32.png" ,
3434 " icons/128x128.png" ,
35353636 " icons/icon.icns" ,
3737 " icons/icon.ico"
38- ],
39- "macOS" : {
40- "dmg" : {
41- "appPosition" : {
42- "x" : 180 ,
43- "y" : 170
44- },
45- "applicationFolderPosition" : {
46- "x" : 480 ,
47- "y" : 170
48- },
49- "windowSize" : {
50- "width" : 660 ,
51- "height" : 400
52- }
53- }
54- }
38+ ]
5539 },
5640 "plugins" : {
5741 "updater" : {
5842 "endpoints" : [
59- " https://api. github.com/repos/ murdercode/presto/releases/latest"
43+ " https://github.com/murdercode/presto/releases/latest/download/latest.json "
6044 ],
6145 "pubkey" : " dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IENCNDYxMDAyQjIxQkM4MjAKUldRZ3lCdXlBaEJHeXp3bnRHYWRwOVM2WFo1T3IzMXJWUnlJYUtwWlEzcnBKVHpnaXpJNjhmK1gK" ,
6246 "dangerousInsecureTransportProtocol" : false
You can’t perform that action at this time.
0 commit comments