mirror of
https://github.com/riperiperi/FreeSO
synced 2026-08-13 20:26:13 -04:00
| .. | ||
| Properties | ||
| deploy.sh | ||
| fso.ico | ||
| fso.png | ||
| FSO.Unix.csproj | ||
| Icon.bmp | ||
| Icon.icns | ||
| Info.plist | ||
| Program.cs | ||
| README.md | ||
Build
macOS
- Navigate to the
FSO.Unixfolder. - Run the following command in Terminal to build a release publish:
dotnet publish -c Release -r osx-arm64 --self-contained true
This will generate a .app bundle in: bin/Release/net9.0/osx-arm64/publish folder. You can then copy the app to your Applications folder.
Linux
- Navigate to the
FSO.Unixfolder. - Run the following command to build:
dotnet build -r linux-x64
Or to publish a self-contained release:
dotnet publish -c Release -r linux-x64 --self-contained true
Deploy
To build, install, and launch in one step:
./deploy.sh
This script works on both macOS and Linux:
- macOS: Installs to
/Applications/FreeSO.appand opens the app - Linux: Installs to
~/.local/share/FreeSOand creates a desktop entry
Launch 3D
macOS
To open the app in 3D mode, run the open command with --args -3d:
E.g when the application is placed in the Applications folder, you can run:
open /Applications/FreeSO.app --args -3d
Linux
./FreeSO -3d
Troubleshooting
Deploy Script Permissions
If you get a permission denied error when running deploy.sh, make it executable:
chmod +x deploy.sh