-
Notifications
You must be signed in to change notification settings - Fork 17
Seperate out AppImage build from Tauri #103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Beethoven-n
wants to merge
57
commits into
Drop-OSS:develop
Choose a base branch
from
Beethoven-n:develop
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
57 commits
Select commit
Hold shift + click to select a range
cc56266
(appimage/) add manual appimage
Beethoven-n 6f30d24
(appimage/build_appimage.sh)
Beethoven-n 7555cc3
(build/) add build directory for non-tauri builds
Beethoven-n bf4b2e0
(src-tauri/tauri.conf.json) remove appimage target from tauri
Beethoven-n 0249a32
(build_appimage.sh) add build script
Beethoven-n 263cceb
(.github/workflows/release.yml) add build_appimage.sh to workflow
Beethoven-n 4599e57
(build_appimage.sh) add basic arch detection
Beethoven-n 4484de0
(build_appimage.sh) install libs by UID and GID
Beethoven-n cb7c297
(build/appimage/drop-app.d/) rename AppDir
Beethoven-n 51555e4
(build/appimage/drop-app.d/AppRun) change program name
Beethoven-n d63d6ef
(.github/workflows/release.yml) add --nobuild flag
Beethoven-n a70c2c6
(build_appimage.sh)
Beethoven-n 9e93ec6
(build/appimage/appimagetool)
Beethoven-n af49a67
(build/appimage/drop-oss-app.d/)
Beethoven-n 53211e9
(build/appimage/appimagetool) these don't belong here! woops!
Beethoven-n 5e94573
(build_appimage.sh) wrong variable. whoops!
Beethoven-n 301152a
(build_appimage.sh) don't use sudo for this u don't need it
Beethoven-n 61fa43d
(appimage/) add manual appimage
Beethoven-n 7db2e42
(appimage/build_appimage.sh)
Beethoven-n 849dc26
(build/) add build directory for non-tauri builds
Beethoven-n 1ed29aa
(src-tauri/tauri.conf.json) remove appimage target from tauri
Beethoven-n 73608ab
(build_appimage.sh) add build script
Beethoven-n 50f7955
(.github/workflows/release.yml) add build_appimage.sh to workflow
Beethoven-n aa034c2
(build_appimage.sh) add basic arch detection
Beethoven-n fe586be
(build_appimage.sh) install libs by UID and GID
Beethoven-n 683e3ac
(build/appimage/drop-app.d/) rename AppDir
Beethoven-n f9c4505
(build/appimage/drop-app.d/AppRun) change program name
Beethoven-n 95fc7d9
(.github/workflows/release.yml) add --nobuild flag
Beethoven-n de3be25
(build_appimage.sh)
Beethoven-n 50d76bb
(build/appimage/appimagetool)
Beethoven-n 380084b
(build/appimage/drop-oss-app.d/)
Beethoven-n 3d5de9b
(build/appimage/appimagetool) these don't belong here! woops!
Beethoven-n 81d324a
(build_appimage.sh) wrong variable. whoops!
Beethoven-n 527476e
(build_appimage.sh) don't use sudo for this u don't need it
Beethoven-n 106c229
(build/appimage/drop-app.d/drop-oss-app.desktop) add drop link handling
Beethoven-n 92e4226
Merge branch 'develop' of https://github.com/Beethoven-n/drop-app int…
DecDuck c78079e
bump version to 0.3.1-appimage
DecDuck d19c5b8
fix: fixes to pipeline, script, and .gitignorey
DecDuck 41d2373
fix: use ldconfig to find libraries
DecDuck b3f73d6
fix: add permission fixes
DecDuck 919148c
fix: only use first library result
DecDuck 6038509
fix: add fuse dependency
DecDuck 38dd6a2
fix: if statement
DecDuck 4389d8b
fix: add fix for aarch64 build and start working on github upload
DecDuck 732df1d
fix: various ci fixes
DecDuck 4361798
fix: final fixes
DecDuck 48ccf63
fix: final issues with github pipeline
DecDuck ef21536
fix: use full shared object library (ldd)
DecDuck 97083db
fix: allow overwriting and add caching
DecDuck 1a19a52
Merge branch 'develop' into develop
Beethoven-n da454f7
v2 download API and fixes (#112)
DecDuck 70a4ddb
fix: #92 (#115)
DecDuck 465bd2c
fix: link against appindicator3
DecDuck 63e7ff3
Merge branch 'develop' into Beethoven-n-develop
DecDuck dcece8a
Merge branch 'develop' into develop
Beethoven-n 773a3b0
Merge branch 'develop' into develop
Beethoven-n 2371955
Merge branch 'develop' into develop
Beethoven-n File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 @@ | ||
| drop-oss-app.png |
This file contains hidden or 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,8 @@ | ||
| #!/bin/sh | ||
|
|
||
| program="drop-app" | ||
|
|
||
| # point to libraries and run | ||
| LD_LIBRARY_PATH=$APPDIR/usr/lib:/usr/local/lib:/usr/lib $APPDIR/usr/bin/$program $@ | ||
|
|
||
| # vim:ft=sh |
This file contains hidden or 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,8 @@ | ||
| [Desktop Entry] | ||
| Name=Drop Desktop App | ||
| Comment=The client application for the open-source, self-hosted game distribution platform Drop. | ||
| Exec=AppRun | ||
| Icon=drop-oss-app | ||
| Type=Application | ||
| Categories=Game;Network | ||
| MimeType=x-scheme-handler/drop |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Empty file.
This file contains hidden or 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 @@ | ||
| #!/bin/sh | ||
| set -e | ||
|
|
||
| # run this from the root of the git repo to make this work | ||
|
|
||
| arch="$(uname -m)" | ||
| git_dir="$PWD" | ||
| target_dir="$git_dir/src-tauri/target" | ||
| appimage_dir="$git_dir/build/appimage" | ||
| appdir="$appimage_dir/drop-app.d" | ||
|
|
||
| build() { | ||
| # set up the repo | ||
| git submodule init | ||
| git submodule update --recursive | ||
|
|
||
| # set up yarn and build | ||
| yarn | ||
| yarn tauri build | ||
| } | ||
|
|
||
| rm -f $appdir/usr/bin/* $appdir/usr/lib/* | ||
|
|
||
| if [[ ! "$1" == "--nobuild" ]]; then | ||
| build | ||
| fi | ||
|
|
||
| # install binaries in the appdir, then the libraries | ||
| cp $target_dir/release/drop-app $appdir/usr/bin | ||
| for lib_name in $(ldd "$target_dir/release/drop-app" | grep '=>' | awk '{ print $(NF-1) }'); | ||
| do | ||
| echo $lib_name | ||
| sudo install -g 1000 -o 1000 -Dm755 "$(ls -L1 $lib_name)" $appdir/usr/lib | ||
| done | ||
|
|
||
| wget -O $appimage_dir/appimagetool https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-$arch.AppImage | ||
|
|
||
| cd $appimage_dir | ||
| chmod u+x appimagetool | ||
| ./appimagetool $appdir | ||
|
|
||
| ls "$appimage_dir/" |
This file contains hidden or 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.