-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
07b02be
commit ce56f69
Showing
19 changed files
with
3,765 additions
and
536 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
appId: dev.mukkematti.qobuz-linux | ||
electronVersion: 28.1.1 | ||
electronDownload: | ||
version: 28.1.1+wvcus | ||
mirror: https://github.com/castlabs/electron-releases/releases/download/v | ||
snap: | ||
plugs: | ||
- default | ||
- screen-inhibit-control | ||
extraResources: | ||
- "themes/**" | ||
linux: | ||
category: AudioVideo | ||
icon: build/icons | ||
target: | ||
- dir | ||
executableName: qobuz-linux | ||
desktop: | ||
Encoding: UTF-8 | ||
Name: Qobuz | ||
GenericName: Qobuz | ||
Comment: A simple electron wrapper for Qobuz (with Hi Res Support) | ||
Icon: dev.mukkematti.qobuz_linux | ||
StartupNotify: true | ||
Terminal: false | ||
Type: Application | ||
Categories: Network;Application;AudioVideo;Audio;Video | ||
StartupWMClass: qobuz | ||
X-PulseAudio-Properties: media.role=music | ||
MimeType: x-scheme-handler/qobuz; | ||
|
||
mac: | ||
category: public.app-category.entertainment | ||
win: | ||
icon: icon.png | ||
artifactName: "qobuzlinux" | ||
appId: dev.mukkematti.qobuz-linux | ||
executableName: qobuzlinux | ||
protocols: | ||
name: "qobuz" | ||
role: "Viewer" | ||
schemes: ["qobuz"] |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
extends: ./build/electron-builder.base.yml | ||
linux: | ||
target: | ||
- deb |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
extends: ./build/electron-builder.base.yml | ||
linux: | ||
target: | ||
- pacman |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
extends: ./build/electron-builder.base.yml | ||
linux: | ||
target: | ||
- rpm |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
extends: ./build/electron-builder.base.yml | ||
linux: | ||
target: | ||
- snap |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
extends: ./build/electron-builder.base.yml | ||
linux: | ||
target: | ||
- dir |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
extends: ./build/electron-builder.base.yml | ||
linux: | ||
target: | ||
- flatpak | ||
- AppImage | ||
- snap | ||
win: | ||
target: msi | ||
icon: icon.png | ||
artifactName: "qobuz-linux" | ||
appId: dev.mukkematti.qobuz-linux | ||
executableName: qobuzlinux |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
app-id: dev.mukkematti.qobuz-linux | ||
runtime: org.freedesktop.Platform | ||
runtime-version: '23.08' | ||
sdk: org.freedesktop.Sdk | ||
base: org.electronjs.Electron2.BaseApp | ||
base-version: '23.08' | ||
sdk-extensions: | ||
- org.freedesktop.Sdk.Extension.node20 | ||
command: run.sh | ||
separate-locales: false | ||
finish-args: | ||
- --share=ipc | ||
- --socket=x11 | ||
- --socket=pulseaudio | ||
- --share=network | ||
build-options: | ||
append-path: /usr/lib/sdk/node18/bin | ||
env: | ||
NPM_CONFIG_LOGLEVEL: info | ||
modules: | ||
- name: qobuz-linux | ||
buildsystem: simple | ||
build-options: | ||
env: | ||
XDG_CACHE_HOME: /run/build/qobuz-linux/flatpak-node/cache | ||
npm_config_cache: /run/build/qobuz-linux/flatpak-node/npm-cache | ||
npm_config_offline: 'true' | ||
build-commands: | ||
# Install npm dependencies | ||
- mkdir /run/build/qobuz-linux/main | ||
- npm install --offline | ||
# Build the app; in this example the `dist` script | ||
# in package.json runs electron-builder | ||
- | | ||
. ../flatpak-node/electron-builder-arch-args.sh | ||
npm run dist -- $ELECTRON_BUILDER_ARCH_ARGS --linux --dir | ||
# Bundle app and dependencies | ||
- cp -a dist/linux*unpacked /app/main | ||
# Install app wrapper | ||
- install -Dm755 -t /app/bin/ ../run.sh | ||
subdir: main | ||
sources: | ||
#- type: archive | ||
# url: https://github.com/flathub/electron-sample-app/archive/1.0.1.tar.gz | ||
# sha256: a2feb3f1cf002a2e4e8900f718cc5c54db4ad174e48bfcfbddcd588c7b716d5b | ||
- type: dir | ||
path: .. | ||
dest: main | ||
- generated-sources.json | ||
# Wrapper to launch the app | ||
- type: script | ||
dest-filename: run.sh | ||
commands: | ||
- zypak-wrapper.sh /app/main/electron-sample-app "$@" |
Oops, something went wrong.