Skip to content

Commit

Permalink
added make_config.yaml for macos and windows
Browse files Browse the repository at this point in the history
  • Loading branch information
pichillilorenzo committed Oct 2, 2024
1 parent c5759c5 commit ff0c89f
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,15 +95,15 @@ jobs:
build/dist/*/*.zip
- name: Extract version from pubspec.yaml
id: extract_version
run: |
version=$(grep '^version: ' pubspec.yaml | cut -d ' ' -f 2 | tr -d '\r')
echo "VERSION=$version" >> $GITHUB_ENV
id: yq
uses: mikefarah/yq@master
with:
cmd: yq -r '.version' 'pubspec.yaml'

- name: Upload Release
uses: softprops/action-gh-release@v1
with:
name: "${{ env.VERSION }}"
name: "${{ steps.yq.outputs.result }}"
token: ${{ secrets.TOKEN }}
files: |
build/app/outputs/flutter-apk/app-x86_64-release.apk
Expand Down Expand Up @@ -148,15 +148,15 @@ jobs:
build/dist/*/*.zip
- name: Extract version from pubspec.yaml
id: extract_version
run: |
version=$(grep '^version: ' pubspec.yaml | cut -d ' ' -f 2 | tr -d '\r')
echo "VERSION=$version" >> $GITHUB_ENV
id: yq
uses: mikefarah/yq@master
with:
cmd: yq -r '.version' 'pubspec.yaml'

- name: Upload Release
uses: softprops/action-gh-release@v1
with:
name: "${{ env.VERSION }}"
name: "${{ steps.yq.outputs.result }}"
token: ${{ secrets.TOKEN }}
files: |
build/dist/*/*.msix
Expand Down
10 changes: 10 additions & 0 deletions macos/packaging/dmg/make_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
title: Flutter Browser
contents:
- x: 448
y: 344
type: link
path: "/Applications"
- x: 192
y: 344
type: file
path: flutter_browser_app.app
7 changes: 7 additions & 0 deletions windows/packaging/msix/make_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
display_name: Flutter Browser
publisher_display_name: pichillilorenzo
identity_name: com.pichillilorenzo.flutter_browser
logo_path: assets/icon/icon.png
capabilities: internetClient, location, microphone, webcam
languages: en-us
install_certificate: "false"

0 comments on commit ff0c89f

Please sign in to comment.