5 Commits

4 changed files with 1226 additions and 9 deletions

View File

@@ -115,6 +115,14 @@ jobs:
rm -rf target/release/bundle rm -rf target/release/bundle
rm -rf target/*/release/bundle || true rm -rf target/*/release/bundle || true
- name: 🌍 Load environment variables for build.rs
shell: bash
run: |
echo "Loading .env.prod..."
set -a
source packages/app-lib/.env.prod
set +a
# - name: 🔨 Build macOS app # - name: 🔨 Build macOS app
# if: matrix.platform == 'macos-latest' # if: matrix.platform == 'macos-latest'
# run: pnpm --filter=@modrinth/app run tauri build --target universal-apple-darwin --config tauri-release.conf.json # run: pnpm --filter=@modrinth/app run tauri build --target universal-apple-darwin --config tauri-release.conf.json
@@ -144,10 +152,5 @@ jobs:
with: with:
name: App bundle (${{ matrix.artifact-target-name }}) name: App bundle (${{ matrix.artifact-target-name }})
path: | path: |
target/release/bundle/appimage/AstralRinth App_*.AppImage* target/release/bundle/**
target/release/bundle/deb/AstralRinth App_*.deb* target/*/release/bundle/**
target/release/bundle/rpm/AstralRinth App-*.rpm*
target/universal-apple-darwin/release/bundle/macos/AstralRinth App.app.tar.gz*
target/universal-apple-darwin/release/bundle/dmg/AstralRinth App_*.dmg*
target/release/bundle/nsis/AstralRinth App_*-setup.exe*
target/release/bundle/nsis/AstralRinth App_*-setup.nsis.zip*

View File

@@ -51,6 +51,8 @@ fn main() {
"import", "import",
InlinedPlugin::new() InlinedPlugin::new()
.commands(&[ .commands(&[
"fetch_curseforge_profile_metadata",
"import_curseforge_profile",
"get_importable_instances", "get_importable_instances",
"import_instance", "import_instance",
"is_valid_importable_instance", "is_valid_importable_instance",

View File

@@ -27,8 +27,6 @@
"auth:default", "auth:default",
"import:default", "import:default",
"import:allow-fetch-curseforge-profile-metadata",
"import:allow-import-curseforge-profile",
"jre:default", "jre:default",
"logs:default", "logs:default",
"metadata:default", "metadata:default",

1214
patches/pr-10.patch Normal file

File diff suppressed because it is too large Load Diff