fix(linux): provide static desktop entry for rpm generation and update repo URLs
This commit is contained in:
parent
710c129273
commit
37a09c12de
3 changed files with 14 additions and 3 deletions
|
|
@ -140,7 +140,7 @@ desktop-template = "distribution/linux/org.polyfrost.oneclient.template"
|
|||
auto-req = "builtin"
|
||||
assets = [
|
||||
{ source = "target/release/oneclient_app", dest = "/usr/bin/oneclient_app", mode = "755" },
|
||||
{ source = "target/release/.cargo-packager/deb/*/data/usr/share/applications/oneclient_app.desktop", dest = "/usr/share/applications/", mode = "644" },
|
||||
{ source = "distribution/linux/oneclient_app.desktop", dest = "/usr/share/applications/oneclient_app.desktop", mode = "644" },
|
||||
{ source = "icons/32x32.png", dest = "/usr/share/icons/hicolor/32x32/apps/oneclient_app.png", mode = "644" },
|
||||
{ source = "icons/64x64.png", dest = "/usr/share/icons/hicolor/64x64/apps/oneclient_app.png", mode = "644" },
|
||||
{ source = "icons/128x128.png", dest = "/usr/share/icons/hicolor/128x128/apps/oneclient_app.png", mode = "644" },
|
||||
|
|
|
|||
|
|
@ -0,0 +1,11 @@
|
|||
[Desktop Entry]
|
||||
Name=OneClient
|
||||
Comment=Next-generation open source Minecraft launcher
|
||||
Exec=/usr/bin/oneclient_app
|
||||
Icon=oneclient_app
|
||||
Type=Application
|
||||
Terminal=false
|
||||
StartupNotify=true
|
||||
Categories=Game;ActionGame;AdventureGame;Simulation;
|
||||
Keywords=mc;minecraft;game;
|
||||
StartupWMClass=oneclient_app
|
||||
|
|
@ -3,5 +3,5 @@ pub const WINDOW_TITLE: &str = "OneClient";
|
|||
|
||||
pub const UPDATER_PUBKEY: &str = "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDFGODk3MkMyMjg0MjFDMDUKUldRRkhFSW93bktKSHpkWjNEMXNzaDVINVpCTU8xSnhuK2RnV0dTZ2FkcFJWbG1zUkhGYTNjaUkK";
|
||||
pub const UPDATER_ENDPOINT: &str =
|
||||
"https://github.com/Polyfrost/OneLauncher/releases/latest/download/latest.json";
|
||||
pub const RELEASES_URL: &str = "https://github.com/Polyfrost/OneLauncher/releases/latest";
|
||||
"https://github.com/oiupoyt/onelauncher-but-cracked/releases/latest/download/latest.json";
|
||||
pub const RELEASES_URL: &str = "https://github.com/oiupoyt/onelauncher-but-cracked/releases/latest";
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue