mirror of
https://github.com/Drop-OSS/drop-app.git
synced 2025-11-13 08:12:44 +10:00
Compare commits
37 Commits
31f7d5bcfa
...
v0.3.1-app
| Author | SHA1 | Date | |
|---|---|---|---|
| c78079e4be | |||
| 92e42262c1 | |||
| 106c229c8f | |||
| 527476e7c1 | |||
| 81d324a026 | |||
| 3d5de9bec8 | |||
| 380084bb95 | |||
| 50d76bb76f | |||
| de3be25914 | |||
| 95fc7d9605 | |||
| f9c45053cc | |||
| 683e3ac7f2 | |||
| fe586be658 | |||
| aa034c21a9 | |||
| 50f7955734 | |||
| 73608ab85b | |||
| 1ed29aaa12 | |||
| 849dc26677 | |||
| 7db2e42006 | |||
| 61fa43dd86 | |||
| 301152a69f | |||
| 5e945734c7 | |||
| 53211e94fe | |||
| af49a6751f | |||
| 9e93ec688c | |||
| a70c2c64e4 | |||
| d63d6efa3e | |||
| 51555e43ee | |||
| cb7c297443 | |||
| 4484de0507 | |||
| 4599e5713c | |||
| 263cceb17f | |||
| 0249a3248f | |||
| bf4b2e0ad6 | |||
| 7555cc3cdf | |||
| 6f30d248eb | |||
| cc562662f0 |
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
@ -101,3 +101,8 @@ jobs:
|
|||||||
releaseDraft: false
|
releaseDraft: false
|
||||||
prerelease: true
|
prerelease: true
|
||||||
args: ${{ matrix.args }}
|
args: ${{ matrix.args }}
|
||||||
|
|
||||||
|
- name: Bundle Appimage
|
||||||
|
if: matrix.platform == 'ubuntu-22.04' || matrix.platform == 'ubuntu-22.04-arm'
|
||||||
|
run:
|
||||||
|
build_appimage.sh --nobuild
|
||||||
|
|||||||
1
build/appimage/drop-app.d/.DirIcon
Symbolic link
1
build/appimage/drop-app.d/.DirIcon
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
drop-oss-app.png
|
||||||
8
build/appimage/drop-app.d/AppRun
Executable file
8
build/appimage/drop-app.d/AppRun
Executable file
@ -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
|
||||||
8
build/appimage/drop-app.d/drop-oss-app.desktop
Normal file
8
build/appimage/drop-app.d/drop-oss-app.desktop
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Name=drop-oss-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
|
||||||
BIN
build/appimage/drop-app.d/drop-oss-app.png
Normal file
BIN
build/appimage/drop-app.d/drop-oss-app.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
0
build/appimage/drop-app.d/usr/bin/.execs_go_here
Normal file
0
build/appimage/drop-app.d/usr/bin/.execs_go_here
Normal file
0
build/appimage/drop-app.d/usr/lib/.libs_go_here
Normal file
0
build/appimage/drop-app.d/usr/lib/.libs_go_here
Normal file
38
build_appimage.sh
Executable file
38
build_appimage.sh
Executable file
@ -0,0 +1,38 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# 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 i in $(readelf -d "$target_dir/release/drop-app" |grep NEEDED |cut -d'[' -f2 |tr -d ]);
|
||||||
|
do
|
||||||
|
install -g 1000 -o 1000 -Dm755 "$(ls -L1 /usR/LIB/$i)" $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
|
||||||
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "drop-app",
|
"name": "drop-app",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.3.1",
|
"version": "0.3.1-appimage",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "nuxt build",
|
"build": "nuxt build",
|
||||||
|
|||||||
2
src-tauri/Cargo.lock
generated
2
src-tauri/Cargo.lock
generated
@ -1284,7 +1284,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "drop-app"
|
name = "drop-app"
|
||||||
version = "0.3.1"
|
version = "0.3.1-appimage"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"atomic-instant-full",
|
"atomic-instant-full",
|
||||||
"bitcode",
|
"bitcode",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "drop-app"
|
name = "drop-app"
|
||||||
version = "0.3.1"
|
version = "0.3.1-appimage"
|
||||||
description = "The client application for the open-source, self-hosted game distribution platform Drop"
|
description = "The client application for the open-source, self-hosted game distribution platform Drop"
|
||||||
authors = ["Drop OSS"]
|
authors = ["Drop OSS"]
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://schema.tauri.app/config/2.0.0",
|
"$schema": "https://schema.tauri.app/config/2.0.0",
|
||||||
"productName": "Drop Desktop Client",
|
"productName": "Drop Desktop Client",
|
||||||
"version": "0.3.1",
|
"version": "0.3.1-appimage",
|
||||||
"identifier": "dev.drop.app",
|
"identifier": "dev.drop.app",
|
||||||
"build": {
|
"build": {
|
||||||
"beforeDevCommand": "yarn dev --port 1432",
|
"beforeDevCommand": "yarn dev --port 1432",
|
||||||
@ -27,7 +27,7 @@
|
|||||||
},
|
},
|
||||||
"bundle": {
|
"bundle": {
|
||||||
"active": true,
|
"active": true,
|
||||||
"targets": ["nsis", "deb", "rpm", "dmg", "appimage"],
|
"targets": ["nsis", "deb", "rpm", "dmg"],
|
||||||
"windows": {
|
"windows": {
|
||||||
"nsis": {
|
"nsis": {
|
||||||
"installMode": "both"
|
"installMode": "both"
|
||||||
|
|||||||
Reference in New Issue
Block a user