aonsoku: init at 0.8.3 (#385245)
This commit is contained in:
@@ -0,0 +1,69 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
rustPlatform,
|
||||
|
||||
cargo-tauri,
|
||||
nodejs,
|
||||
pnpm,
|
||||
|
||||
pkg-config,
|
||||
wrapGAppsHook3,
|
||||
|
||||
openssl,
|
||||
libsoup_2_4,
|
||||
webkitgtk_4_1,
|
||||
glib-networking,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "aonsoku";
|
||||
version = "0.8.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "victoralvesf";
|
||||
repo = "aonsoku";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-A1U1ubprwYJvyqTe5gVYTo8687sfP/76GfA+2EmtoCo=";
|
||||
};
|
||||
|
||||
pnpmDeps = pnpm.fetchDeps {
|
||||
inherit (finalAttrs) pname version src;
|
||||
hash = "sha256-BMEBJRycmOgsI1loTPTNY1dVOJ0HTCnzg0QyNAzZMn4=";
|
||||
};
|
||||
|
||||
cargoRoot = "src-tauri";
|
||||
buildAndTestSubdir = finalAttrs.cargoRoot;
|
||||
useFetchCargoVendor = true;
|
||||
cargoHash = "sha256-yuKaf05bQFah3MTC0eF82pMmTJrllWfUKX3SdIWbPjM=";
|
||||
|
||||
patches = [ ./remove_updater.patch ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
nodejs
|
||||
pnpm.configHook
|
||||
cargo-tauri.hook
|
||||
|
||||
pkg-config
|
||||
wrapGAppsHook3
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
openssl
|
||||
libsoup_2_4
|
||||
webkitgtk_4_1
|
||||
glib-networking
|
||||
];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "Modern desktop client for Navidrome/Subsonic servers";
|
||||
homepage = "https://github.com/victoralvesf/aonsoku";
|
||||
changelog = "https://github.com/victoralvesf/aonsoku/releases/tag/v${finalAttrs.version}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ genga898 ];
|
||||
mainProgram = "Aonsoku";
|
||||
};
|
||||
})
|
||||
@@ -0,0 +1,46 @@
|
||||
diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs
|
||||
index 112ee8e..35137f2 100644
|
||||
--- a/src-tauri/src/main.rs
|
||||
+++ b/src-tauri/src/main.rs
|
||||
@@ -50,7 +50,6 @@ fn main() {
|
||||
Ok(())
|
||||
})
|
||||
.plugin(tauri_plugin_shell::init())
|
||||
- .plugin(tauri_plugin_updater::Builder::new().build())
|
||||
.plugin(tauri_plugin_process::init())
|
||||
.plugin(tauri_plugin_os::init())
|
||||
.invoke_handler(tauri::generate_handler![commands::download_file])
|
||||
diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json
|
||||
index 3afc5f6..19785e5 100644
|
||||
--- a/src-tauri/tauri.conf.json
|
||||
+++ b/src-tauri/tauri.conf.json
|
||||
@@ -8,7 +8,6 @@
|
||||
"bundle": {
|
||||
"active": true,
|
||||
"category": "Music",
|
||||
- "createUpdaterArtifacts": true,
|
||||
"targets": "all",
|
||||
"icon": [
|
||||
"icons/32x32.png",
|
||||
@@ -26,14 +25,6 @@
|
||||
"productName": "Aonsoku",
|
||||
"mainBinaryName": "Aonsoku",
|
||||
"identifier": "com.victoralvesf.aonsoku",
|
||||
- "plugins": {
|
||||
- "updater": {
|
||||
- "pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDRDNTlENjZCNTJFRDdDRDAKUldUUWZPMVNhOVpaVENsbXg5RTM1TzFnME43TmZoaHU5bWplS1VSSW9YcE1QT0w1ZHRIWHNUOVoK",
|
||||
- "endpoints": [
|
||||
- "https://github.com/victoralvesf/aonsoku/releases/latest/download/latest.json"
|
||||
- ]
|
||||
- }
|
||||
- },
|
||||
"app": {
|
||||
"withGlobalTauri": true,
|
||||
"security": {
|
||||
@@ -56,4 +47,4 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
-}
|
||||
\ No newline at end of file
|
||||
+}
|
||||
Reference in New Issue
Block a user