Skip to content
This repository has been archived by the owner on Jun 28, 2023. It is now read-only.

Commit

Permalink
錯誤修復:修復Build腳本的一些錯誤
Browse files Browse the repository at this point in the history
  • Loading branch information
SiongSng committed Sep 16, 2021
1 parent b4d8f8f commit 31834d7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- run: sudo apt-get update
- run: sudo apt-get install ninja-build libgtk-3-dev libblkid-dev
- run: flutter config --enable-linux-desktop
- run: flutter build linux --dart-define="build_id=${{ github.run_number }}" --dart-define="version_type=alpha" --dart-define="version=1.0.0"
- run: flutter build linux --dart-define="build_id=${{ github.run_number }}" --dart-define="version_type=dev" --dart-define="version=1.0.0"
- run: |
cd build/linux/x64/release/bundle
chmod +x RPMLauncher
Expand All @@ -42,7 +42,7 @@ jobs:
channel: beta
- run: |
flutter config --enable-windows-desktop
flutter build windows --dart-define="build_id=${{ github.run_number }}" --dart-define="version_type=alpha" --dart-define="version=1.0.0"
flutter build windows --dart-define="build_id=${{ github.run_number }}" --dart-define="version_type=dev" --dart-define="version=1.0.0"
flutter pub run msix:create --v 1.0.0.${{ github.run_number }}
cd scripts/Updater
dart pub get
Expand Down Expand Up @@ -74,16 +74,16 @@ jobs:
# with:
# channel: beta
# - run: flutter config --enable-macos-desktop
# - run: flutter build macos --dart-define="build_id=${{ github.run_number }}" --dart-define="version_type=alpha" --dart-define="version=1.0.0"
# - run: flutter build macos --dart-define="build_id=${{ github.run_number }}" --dart-define="version_type=dev" --dart-define="version=1.0.0"
# - run: |
# mkdir rpmlauncher.app
# cp -R -f build/macos/Build/Products/Release/rpmlauncher.app rpmlauncher.app
- name: "Update File"
uses: actions/upload-artifact@v2
with:
name: RPMLauncher-${{ github.run_number }}-macos
path: rpmlauncher.app
retention-days: 1
# - name: "Update File"
# uses: actions/upload-artifact@v2
# with:
# name: RPMLauncher-${{ github.run_number }}-macos
# path: rpmlauncher.app
# retention-days: 1
PreRelease:
needs: ["Linux","Windows"]
runs-on: ubuntu-latest
Expand Down
10 changes: 5 additions & 5 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import 'dart:convert';
import 'dart:io';
import 'dart:ui';

import 'package:flutter/services.dart';
import 'package:flutter_markdown/flutter_markdown.dart';
import 'package:rpmlauncher/Account/Account.dart';
import 'package:rpmlauncher/Screen/Edit.dart';
Expand Down Expand Up @@ -86,11 +87,10 @@ class LauncherHome extends StatelessWidget {
builder: (context, theme) {
ThemeUtility.UpdateTheme(context);
return MaterialApp(
debugShowCheckedModeBanner: false,
title: LauncherInfo.getUpperCaseName(),
theme: theme,
home: HomePage(),
);
debugShowCheckedModeBanner: false,
title: LauncherInfo.getUpperCaseName(),
theme: theme,
home: HomePage());
});
}
}
Expand Down

0 comments on commit 31834d7

Please sign in to comment.