-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
58 changed files
with
444 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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,2 @@ | ||
actions/**/*.yml text eol=lf | ||
workflows/*.yml text eol=lf |
This file contains 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,39 @@ | ||
name: 'update version' | ||
description: 'common update logic for snapshot and release' | ||
inputs: | ||
commit: | ||
required: false | ||
description: 'github commit hash' | ||
type: | ||
required: true | ||
description: 'snapshot or release' | ||
runs: | ||
using: "composite" | ||
steps: | ||
- shell: python | ||
name: update snapshot saving folder | ||
run: | | ||
from io import open | ||
if '${{ inputs.type }}'.lower() != 'snapshot': | ||
exit(0) | ||
with open('conf.lua', 'r+', encoding='utf-8') as file: | ||
data = file.read() | ||
data = data.replace("t.identity='SmartBingo'", "t.identity='SmartBingo_Snapshot'") | ||
file.seek(0) | ||
file.truncate() | ||
file.flush() | ||
file.write(data) | ||
- shell: python | ||
run: | | ||
from io import open | ||
import re | ||
with open('version.lua', 'r+', encoding='utf-8') as file: | ||
commitHash = '${{ inputs.commit }}' | ||
if commitHash != '': | ||
commitHash = '@' + commitHash[0:4] | ||
data = file.read() | ||
data = re.sub('(\d)"', r'\1' + commitHash + '"', data, 1) | ||
file.seek(0) | ||
file.truncate() | ||
file.flush() | ||
file.write(data) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<background android:drawable="@mipmap/icon_background"/> | ||
<foreground android:drawable="@mipmap/icon_foreground"/> | ||
</adaptive-icon> |
5 changes: 5 additions & 0 deletions
5
.github/build/android/dev/res/mipmap-anydpi-v26/icon_round.xml
This file contains 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,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<background android:drawable="@mipmap/icon_background"/> | ||
<foreground android:drawable="@mipmap/icon_foreground"/> | ||
</adaptive-icon> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<background android:drawable="@mipmap/icon_background"/> | ||
<foreground android:drawable="@mipmap/icon_foreground"/> | ||
</adaptive-icon> |
5 changes: 5 additions & 0 deletions
5
.github/build/android/release/res/mipmap-anydpi-v26/icon_round.xml
This file contains 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,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<background android:drawable="@mipmap/icon_background"/> | ||
<foreground android:drawable="@mipmap/icon_foreground"/> | ||
</adaptive-icon> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+508 Bytes
.github/build/android/release/res/mipmap-xxhdpi/icon_background.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+824 Bytes
.github/build/android/release/res/mipmap-xxxhdpi/icon_background.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
This file contains 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 @@ | ||
*.rc text eol=crlf |
Binary file not shown.
This file contains 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,23 @@ | ||
1 VERSIONINFO | ||
FILEVERSION @FileVersion | ||
PRODUCTVERSION @FileVersion | ||
FILEOS 0x40004 | ||
FILETYPE 0x1 | ||
{ | ||
BLOCK "StringFileInfo" | ||
{ | ||
BLOCK "040904B0" | ||
{ | ||
VALUE "FileDescription", "Smart Bingo Development" | ||
VALUE "CompanyName", "26F Studio" | ||
VALUE "LegalCopyright", "Copyright @ 26F Studio" | ||
VALUE "ProductName", "Smart Bingo" | ||
VALUE "ProductVersion", "@Version" | ||
} | ||
} | ||
|
||
BLOCK "VarFileInfo" | ||
{ | ||
VALUE "Translation", 0x0409 0x04E4 | ||
} | ||
} |
This file contains 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 @@ | ||
*.rc text eol=crlf |
Binary file not shown.
This file contains 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,23 @@ | ||
1 VERSIONINFO | ||
FILEVERSION @FileVersion | ||
PRODUCTVERSION @FileVersion | ||
FILEOS 0x40004 | ||
FILETYPE 0x1 | ||
{ | ||
BLOCK "StringFileInfo" | ||
{ | ||
BLOCK "040904B0" | ||
{ | ||
VALUE "FileDescription", "Smart Bingo" | ||
VALUE "CompanyName", "26F Studio" | ||
VALUE "LegalCopyright", "Copyright @ 26F Studio" | ||
VALUE "ProductName", "Smart Bingo" | ||
VALUE "ProductVersion", "@Version" | ||
} | ||
} | ||
|
||
BLOCK "VarFileInfo" | ||
{ | ||
VALUE "Translation", 0x0409 0x04E4 | ||
} | ||
} |
Oops, something went wrong.