Setup auto updating, and signed building
This commit is contained in:
parent
f88a5bffe1
commit
41dc315dfb
10
FCLauncher/app.json
Normal file
10
FCLauncher/app.json
Normal file
@ -0,0 +1,10 @@
|
||||
{
|
||||
"version": "1.0.2",
|
||||
"notes": "This is a test",
|
||||
"platforms": {
|
||||
"linux-x86_64": {
|
||||
"signature": "dW50cnVzdGVkIGNvbW1lbnQ6IHNpZ25hdHVyZSBmcm9tIHRhdXJpIHNlY3JldCBrZXkKUlVTZlMrWWVKdURJQXplUEtId01CbldZd3JlcWxxMmJxUGw1T0xvVnFHMVFZYnJtdStmR2kxYmVpUXNlcXBIWnl4WXVGMGUrVXZjMmlQZWdML2JhMUp3RGlCd01SYnNyd3dnPQp0cnVzdGVkIGNvbW1lbnQ6IHRpbWVzdGFtcDoxNzIwODg3MDYyCWZpbGU6ZmMtbGF1bmNoZXJfMS4wLjJfYW1kNjQuQXBwSW1hZ2UudGFyLmd6CnppVjNKelZsWlZnZXFsZXBOSTQ2TXBMNnRlL2F5VHBHVnlNeHRCR1lJd3ZzTjdNelhOcndjelRNc1ZrVjlJWnFNWFkrSXZ3d2c2SFg1ZU0xTldoOUJnPT0K",
|
||||
"url": "https://gitea.piwalker.net/fclauncher/app/linux/fc-launcher_1.0.2_amd64.AppImage.tar.gz"
|
||||
}
|
||||
}
|
||||
}
|
@ -11,7 +11,7 @@ edition = "2021"
|
||||
tauri-build = { version = "1", features = [] }
|
||||
|
||||
[dependencies]
|
||||
tauri = { version = "1", features = [ "dialog-ask", "shell-open"] }
|
||||
tauri = { version = "1", features = [ "updater", "dialog-ask", "shell-open"] }
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde_json = "1"
|
||||
suppaftp = { version = "6.0.1", features = ["native-tls"] }
|
||||
|
3
FCLauncher/src-tauri/build.sh
Executable file
3
FCLauncher/src-tauri/build.sh
Executable file
@ -0,0 +1,3 @@
|
||||
export TAURI_PRIVATE_KEY=$(cat ~/.tauri/fclauncher.key)
|
||||
read -s PASSWORD
|
||||
export TAURI_KEY_PASSWORD=$PASSWORD
|
@ -6,9 +6,17 @@
|
||||
},
|
||||
"package": {
|
||||
"productName": "FCLauncher",
|
||||
"version": "1.0.1"
|
||||
"version": "1.0.2"
|
||||
},
|
||||
"tauri": {
|
||||
"updater": {
|
||||
"active": true,
|
||||
"endpoints": [
|
||||
"https://gitea.piwalker.net/fclauncher/app.json"
|
||||
],
|
||||
"dialog": true,
|
||||
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDNDOEUwMjYxRUU2NEI5RgpSV1NmUytZZUp1RElBN3dEaGhpWG9JZVNQcFlnNFFzaXN0UnBsVmxNeVdWWnJoQmh4cGJRbjN3Ygo="
|
||||
},
|
||||
"allowlist": {
|
||||
"all": false,
|
||||
"shell": {
|
||||
|
@ -34,6 +34,7 @@
|
||||
|
||||
<p id="download_name"></p>
|
||||
<p id="download_progress"></p>
|
||||
<p>This is a test</p>
|
||||
|
||||
<button id="launchGame" type="button">Launch Minecraft</button>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user