-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into develop-linux
- Loading branch information
Showing
192 changed files
with
17,117 additions
and
4,873 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,49 @@ | ||
name: デプロイ(windows zip) | ||
|
||
on: | ||
workflow_dispatch: | ||
release: | ||
types: [published] | ||
|
||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
build_for_windows: | ||
name: Windows用ビルド | ||
runs-on: windows-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Install Flutter | ||
uses: subosito/flutter-action@v2 | ||
with: | ||
channel: 'stable' | ||
cache: true | ||
|
||
- name: Flutter pub get | ||
run: | | ||
git config --system core.longpaths true | ||
flutter pub get | ||
- name: Build for Windows | ||
run: | | ||
flutter build windows --release | ||
- name: Copy DLL | ||
run: | | ||
cp C:\Windows\System32\msvcp140.dll build\windows\x64\runner\Release\ | ||
cp C:\Windows\System32\vcruntime140.dll build\windows\x64\runner\Release\ | ||
cp C:\Windows\System32\vcruntime140_1.dll build\windows\x64\runner\Release\ | ||
- name: Zip files | ||
run: | | ||
ren build\windows\x64\runner\Release Miria | ||
Compress-Archive -Path build\windows\x64\runner\Miria -DestinationPath miria_$(flutter pub run cider version)_windows-x64.zip -Force | ||
- name: Create tag and release note | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
gh release upload v$(flutter pub run cider version) miria_$(flutter pub run cider version)_windows-x64.zip |
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 |
---|---|---|
|
@@ -46,6 +46,7 @@ app.*.map.json | |
|
||
# builder | ||
**/node_modules/ | ||
**/build/ | ||
|
||
# Release | ||
/private_keys/ |
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
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,63 @@ | ||
const misskeyIOReactionDelay = 1500; | ||
|
||
class Font { | ||
final String displayName; | ||
final String actualName; | ||
|
||
const Font(this.displayName, this.actualName); | ||
} | ||
|
||
const choosableFonts = [ | ||
Font("システム標準", ""), | ||
Font("Noto Sans Japanese", "Noto Sans JP"), | ||
// Font("Noto Serif Japanese", "Noto Serif Japanese"), | ||
Font("IBM Plex Sans JP", "IBM Plex Sans JP"), | ||
Font("ZEN角ゴシック", "Zen Kaku Gothic New"), | ||
Font("ZEN丸ゴシック", "Zen Maru Gothic"), | ||
Font("ZEN角ゴシックアンチック", "Zen Kaku Gothic Antique"), | ||
Font("Zenアンチック", "Zen Antique"), | ||
Font("ZENアンチックSoft", "Zen Antique Soft"), | ||
Font("ZENオールド明朝", "Zen Old Mincho"), | ||
Font("BIZ UD ゴシック", "BIZ UDGothic"), | ||
Font("BIZ UD Pゴシック", "BIZ UDPGothic"), | ||
Font("BIZ UD 明朝", "BIZ UDMincho"), | ||
Font("BIZ UD P明朝", "BIZ UDPMincho"), | ||
Font("M+ 1", "M PLUS 1"), | ||
Font("M+ 1P", "M PLUS 1p"), | ||
Font("M+ 1C", "M PLUS 1 Code"), | ||
Font("M+ 2", "M PLUS 2"), | ||
Font("M+ Rounded 1C", "M PLUS Rounded 1c"), | ||
Font("しっぽり明朝", "Shippori Mincho"), | ||
Font("しっぽり明朝B1", "Shippori Mincho B1"), | ||
Font("しっぽりアンチック", "Shippori Antique"), | ||
Font("しっぽりアンチックB1", "Shippori Antique B1"), | ||
Font("ひな明朝", "Hina Mincho"), | ||
Font("Kosugi", "Kosugi"), | ||
Font("Kosugi Maru", "Kosugi Maru"), | ||
Font("Kiwi Maru", "Kiwi Maru"), | ||
Font("牟礼町", "Murecho"), | ||
Font("さわらびゴシック", "Sawarabi Gothic"), | ||
Font("さわらび明朝", "Sawarabi Mincho"), | ||
Font("クレー One", "Klee One"), | ||
Font("ロックンロール One", "RocknRoll One"), | ||
Font("レゲエ One", "Reggae One"), | ||
Font("ランパート One", "Rampart One"), | ||
Font("ステッキ", "Stick"), | ||
Font("トレイン", "Train One"), | ||
Font("ドットゴシック16", "DotGothic16"), | ||
Font("デラゴシック", "Dela Gothic One"), | ||
Font("解星 デコール", "Kaisei Decol"), | ||
Font("解星 オプティ", "Kaisei Opti"), | ||
Font("解星 特ミン", "Kaisei Tokumin"), | ||
Font("解星 春の海", "Kaisei HarunoUmi"), | ||
Font("はちまるポップ", "Hachi Maru Pop"), | ||
Font("モッチーポップ", "Mochiy Pop P One"), | ||
Font("ZEN紅道", "Zen Kurenaido"), | ||
Font("佑字 舞", "Yuji Mai"), | ||
Font("佑字 肅", "Yuji Syuku"), | ||
Font("佑字 朴", "Yuji Boku"), | ||
Font("Yusei Magic", "Yusei Magic"), | ||
Font("よもぎフォント", "Yomogi"), | ||
Font("Potta One", "Potta One"), | ||
Font("ニューテゴミン", "New Tegomin"), | ||
]; |
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
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,10 @@ | ||
import 'package:misskey_dart/misskey_dart.dart'; | ||
|
||
extension NoteExtension on Note { | ||
bool get isEmptyRenote => | ||
renoteId != null && | ||
text == null && | ||
cw == null && | ||
files.isEmpty && | ||
poll == null; | ||
} |
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
Oops, something went wrong.