Aggiunto script per la creazione di AppImage.#12
Open
demperor-music wants to merge 3 commits intoUSPAssets:mainfrom
Open
Aggiunto script per la creazione di AppImage.#12demperor-music wants to merge 3 commits intoUSPAssets:mainfrom
demperor-music wants to merge 3 commits intoUSPAssets:mainfrom
Conversation
Questo dovrebbe servire per prevenire problemi di compatibilità futuri con le versioni di Linux. Lo script compila il programma, scarica tutte le dipendenze e le impacchetta in un singolo file AppImage. Il file risultante è stato testato su Arch, Fedora ed Alpine.
Member
|
Nice - gli diamo un'occhiata e la testiamo! |
Added quotes around variable names for safety
Something broke in the last commit, so i fixed it. (a variable name somehow got cut out)
jcb936
requested changes
Aug 9, 2025
| cd $current_dir | ||
|
|
||
| echo -n "Compilazione del patcher..." | ||
| dotnet build -c Release -o $_pkgdir/opt/spaghettiproject |
Member
There was a problem hiding this comment.
Qui andrebbe usato il comando di .net per deploy il progetto properly:
dotnet restore USPInstaller.csproj -r linux-x64
dotnet publish USPInstaller.csproj -r linux-x64 --self-contained
| echo -n "Creazione script di avvio..." | ||
| echo "#!/bin/bash | ||
|
|
||
| \$APPDIR/usr/bin/dotnet \$APPDIR/opt/spaghettiproject/USPInstaller.dll" > "$_pkgdir/usr/bin/USPInstaller.sh" |
Member
There was a problem hiding this comment.
Senza dover creare uno script di avvio - se cambi la generazione dell'eseguibile a dotnet publish --self-contained come da commento sopra hai tutto self contained per far partire tutto, senza dover anche avere il runtime e puoi runnare ./USPInstaller direttamente
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Risolve #11.
Lo script compila il programma, scarica tutte le dipendenze e le impacchetta in un singolo file AppImage.
Lo script va eseguito nella cartella "Installer/SpaghettiCh2".
L'AppImage è stato testato su Arch, Fedora ed Alpine.
Per modificare il modo in cui l'app appare nel menù delle app se l'utente decide di installarla, modificare la sezione che inizia con "Creazione file .desktop..."