Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat graphical editor sentences hotkey #349

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1167 commits
Select commit Hold shift + click to select a range
24399d3
auto selection by first dot
nini22P May 2, 2024
a7452ef
Merge pull request #248 from hshqwq/dev
nini22P May 2, 2024
ea3bc28
Merge pull request #249 from OpenWebGAL/dev-lsp
MakinoharaShoko May 3, 2024
115fe8f
feat: add textbox component tree, update properties editor.
MakinoharaShoko May 3, 2024
5f5574e
add template folder info on assets
nini22P May 3, 2024
e4059e7
feat: update engine to separate textbox bg and text.
MakinoharaShoko May 3, 2024
66028a7
Merge pull request #251 from nini22P/dev
nini22P May 3, 2024
6278c0a
feat: add textbox bg to component tree
MakinoharaShoko May 3, 2024
90640f6
feat: add boarder radius editor
MakinoharaShoko May 3, 2024
c9d1c9a
improve display of the delete dialog
nini22P May 3, 2024
b43e242
Create .gitkeep
MakinoharaShoko May 3, 2024
2fa8ac3
feat: add mdn docs link to every property
MakinoharaShoko May 3, 2024
ec07c46
fix: nested folder scene file editing
nini22P May 3, 2024
f1ca0ef
Merge pull request #252 from nini22P/dev
nini22P May 3, 2024
443e0ed
fix: help link style, template assets manager
MakinoharaShoko May 3, 2024
26b0dc3
Add back WebGAL Back Template.
MakinoharaShoko May 3, 2024
f3ec806
revert dev-lsp
MakinoharaShoko May 3, 2024
7f192ff
Update textbox.scss
MakinoharaShoko May 3, 2024
ad5a199
feat: add live preview button on game preview
nini22P May 3, 2024
d3dddc4
Merge pull request #253 from nini22P/dev
nini22P May 3, 2024
7b1bf9c
update translations
MakinoharaShoko May 3, 2024
34f1452
Merge branch 'dev' of https://github.com/OpenWebGAL/WebGAL_Terre into…
MakinoharaShoko May 3, 2024
f23e160
update trans
MakinoharaShoko May 3, 2024
7aac756
update version number
MakinoharaShoko May 3, 2024
f9c5e5f
Merge branch 'main' into dev
MakinoharaShoko May 3, 2024
4b6c833
update engine
MakinoharaShoko May 3, 2024
461d424
Merge branch 'dev' of https://github.com/OpenWebGAL/WebGAL_Terre into…
MakinoharaShoko May 3, 2024
021a367
update engine
MakinoharaShoko May 3, 2024
81a16fc
Update package.json
MakinoharaShoko May 3, 2024
00149b4
delete test files
MakinoharaShoko May 3, 2024
292ace6
Merge pull request #254 from OpenWebGAL/dev
MakinoharaShoko May 3, 2024
91b18f2
chore(deps): bump class-validator from 0.13.2 to 0.14.0
dependabot[bot] May 3, 2024
7f67ae9
Update releasenote.md
MakinoharaShoko May 3, 2024
3737338
fix: text wrap and overflow
nini22P May 4, 2024
9c625a7
Merge pull request #258 from nini22P/dev
nini22P May 4, 2024
6120b19
feat: add text-align and text-shadow
unlimitedcodeG May 4, 2024
ceda256
add .tar.gz to releases for linux
hshqwq May 4, 2024
fe378a3
upload component
hshqwq May 4, 2024
2b6c136
Merge branch 'main' into dev
hshqwq May 4, 2024
1aa6937
fix: update vite config
MakinoharaShoko May 4, 2024
f2f7c3d
Merge pull request #260 from hshqwq/dev
MakinoharaShoko May 7, 2024
4e03e7b
fix: text align initial value
MakinoharaShoko May 7, 2024
2abdbc9
Merge pull request #259 from unlimitedcodeG/dev
MakinoharaShoko May 7, 2024
c907b89
Merge pull request #256 from OpenWebGAL/dependabot/npm_and_yarn/class…
MakinoharaShoko May 7, 2024
3bfd458
update packages
MakinoharaShoko May 7, 2024
56eb3fb
update package
MakinoharaShoko May 7, 2024
8589baa
update engine
MakinoharaShoko May 10, 2024
1a0c159
fix: export game with engine template
MakinoharaShoko May 11, 2024
df3dd6b
fix: multiple ls register
MakinoharaShoko May 11, 2024
19a970d
fix: #262
MakinoharaShoko May 11, 2024
f3ca01a
update engine
MakinoharaShoko May 11, 2024
4c1f117
update engine
MakinoharaShoko May 19, 2024
95f1d19
fix: rename problem #264
MakinoharaShoko May 19, 2024
4666c32
add translations
MakinoharaShoko May 19, 2024
3edbd92
update version number
MakinoharaShoko May 19, 2024
8221997
Update releasenote.md
MakinoharaShoko May 19, 2024
b3084f8
Merge pull request #265 from OpenWebGAL/dev
MakinoharaShoko May 19, 2024
2b82b62
Update release.yml
MakinoharaShoko May 19, 2024
7c02196
revert to zip
MakinoharaShoko May 19, 2024
aec6faf
Improved main area and divider display (#268)
nini22P May 25, 2024
9cc8ae3
update locale files
MakinoharaShoko May 26, 2024
4b8c0f1
fix: engine problems
MakinoharaShoko Jun 2, 2024
80fee82
feat: add electron log
nini22P Jun 8, 2024
d651d15
Merge pull request #269 from nini22P/dev
nini22P Jun 8, 2024
86c2c9d
Assets支持直接拖拽文件上传
xiaoxustudio Jun 10, 2024
c989497
Merge pull request #270 from xiaoxustudio/dev
MakinoharaShoko Jun 10, 2024
37fccb8
鼠标移动到文件名显示缩略图
xiaoxustudio Jun 11, 2024
602e04c
鼠标移动到文件名显示缩略图
xiaoxustudio Jun 11, 2024
b1bea4e
鼠标移动到文件名显示缩略图
xiaoxustudio Jun 11, 2024
bc56a5e
Merge pull request #271 from xiaoxustudio/dev2
MakinoharaShoko Jun 12, 2024
303841e
update locale files
MakinoharaShoko Jun 12, 2024
22ee11e
update engine
MakinoharaShoko Jun 13, 2024
4415787
feat: experimental fast sync (editor)
MakinoharaShoko Jun 14, 2024
4364de9
fix: style of tips
MakinoharaShoko Jun 14, 2024
3662585
update version
MakinoharaShoko Jun 15, 2024
d17ed77
fix: deps
MakinoharaShoko Jun 15, 2024
d219270
Merge pull request #272 from OpenWebGAL/dev
MakinoharaShoko Jun 15, 2024
1cfd5aa
修复打开无后缀文件报错
xiaoxustudio Jun 19, 2024
c19d52e
Merge pull request #275 from xiaoxustudio/dev1
MakinoharaShoko Jun 19, 2024
6ff19e4
Update README.md
MakinoharaShoko Jun 22, 2024
00e9ebe
Update README_EN.md
MakinoharaShoko Jun 22, 2024
caa5a76
Update README_JP.md
MakinoharaShoko Jun 22, 2024
5dd039b
enhance ui style
MakinoharaShoko Jun 27, 2024
d5b25a1
feat: improve choose file
nini22P Jun 28, 2024
ede7d0d
feat: enhance style
MakinoharaShoko Jun 28, 2024
d1eae8a
feat: enhance template editor style
MakinoharaShoko Jun 28, 2024
bd32843
fix: enhance topbar style
MakinoharaShoko Jun 29, 2024
79e7e93
fix engine
MakinoharaShoko Jun 29, 2024
8e45633
fix:engine
MakinoharaShoko Jun 29, 2024
c11eb50
feat: add choose comp custom UI
MakinoharaShoko Jun 30, 2024
46000bc
fix: choose file problem
MakinoharaShoko Jun 30, 2024
d46646d
update locale file
MakinoharaShoko Jun 30, 2024
ade4b94
update version
MakinoharaShoko Jun 30, 2024
2d85b68
update locales
MakinoharaShoko Jun 30, 2024
4a460e1
Merge pull request #277 from OpenWebGAL/dev
MakinoharaShoko Jun 30, 2024
7e5da2e
fix: component tree problem
MakinoharaShoko Jun 30, 2024
b1f3d88
feat: create asar on export game
nini22P Jul 13, 2024
8e51ec9
Merge pull request #278 from nini22P/dev
nini22P Jul 13, 2024
c05d94d
feat: add background and related editing components
MakinoharaShoko Jul 13, 2024
20895b4
feat: image asset preview add mosaic background
nini22P Jul 14, 2024
9f0b930
Merge pull request #280 from nini22P/dev
nini22P Jul 14, 2024
437ab3c
update engine
MakinoharaShoko Jul 20, 2024
2f76bf8
update version
MakinoharaShoko Jul 20, 2024
300770a
Merge pull request #282 from OpenWebGAL/dev
MakinoharaShoko Jul 20, 2024
4232a6a
Update release.yml
MakinoharaShoko Jul 20, 2024
f040e90
fix: engine
MakinoharaShoko Jul 21, 2024
3b085bf
fix: engine
MakinoharaShoko Jul 21, 2024
d2a42d5
feat: check for the exists file with the same name when creating or r…
nini22P Jul 28, 2024
e730bdf
feat: revert 'revert lsp'
MakinoharaShoko Aug 17, 2024
d72deb2
Update info.ts
MakinoharaShoko Aug 17, 2024
5da644e
fix: monaco init
MakinoharaShoko Aug 17, 2024
dd02ef6
fix: monaco init
MakinoharaShoko Aug 17, 2024
80c7bf9
fix: monaco init
MakinoharaShoko Aug 17, 2024
c372de3
fix: text editor lang
MakinoharaShoko Aug 17, 2024
7b5a872
fix: css and json tmLanguage
MakinoharaShoko Aug 17, 2024
eedd2d4
fix: lsp problem
MakinoharaShoko Aug 17, 2024
9c70528
Merge branch 'dev' into dev-lsp
MakinoharaShoko Aug 17, 2024
92d9b44
fix: template text editor
MakinoharaShoko Aug 17, 2024
ab6c339
fix: remove useless imports
MakinoharaShoko Aug 17, 2024
5f5ad65
fix: lsp: exception when setVar
tinyAdapter Aug 18, 2024
acd2f90
fix: sub page changed callback (for LSP file suggestion)
tinyAdapter Aug 18, 2024
4ca7be6
chore: remove obsolete contents
tinyAdapter Aug 18, 2024
8ff6a03
Merge pull request #286 from tinyAdapter/dev-lsp
MakinoharaShoko Aug 18, 2024
bd8c301
fix: engine
MakinoharaShoko Aug 19, 2024
bb0c4b8
update engine
MakinoharaShoko Aug 24, 2024
0f2bbc4
Merge pull request #285 from OpenWebGAL/dev-lsp
MakinoharaShoko Aug 24, 2024
3ecdc13
update engine
MakinoharaShoko Aug 24, 2024
71f505a
feat: apply template for created game
MakinoharaShoko Aug 24, 2024
781ea7b
update engine
MakinoharaShoko Aug 24, 2024
f800b1b
update version
MakinoharaShoko Aug 24, 2024
6475729
Merge pull request #298 from OpenWebGAL/dev
MakinoharaShoko Aug 24, 2024
fd5baa5
update engine to solve bug
MakinoharaShoko Aug 30, 2024
ac1e15a
update version
MakinoharaShoko Aug 30, 2024
a8b28dd
Merge pull request #304 from OpenWebGAL/dev
MakinoharaShoko Aug 30, 2024
9cf1906
update readme
MakinoharaShoko Aug 30, 2024
3e6ffeb
update docs
MakinoharaShoko Aug 30, 2024
a4aa04d
update engine to solve problem
MakinoharaShoko Sep 1, 2024
fd4248e
Merge branch 'dev'
MakinoharaShoko Sep 1, 2024
6f2b106
chore(deps): bump actions/download-artifact in /.github/workflows
dependabot[bot] Sep 3, 2024
d2f4324
update changeFigure
MakinoharaShoko Sep 6, 2024
7b753a2
update changeFigure
MakinoharaShoko Sep 6, 2024
27dcb83
Merge branch 'dev' of https://github.com/OpenWebGAL/WebGAL_Terre into…
MakinoharaShoko Sep 8, 2024
8d9c5b1
feat: improved notification of new version update
nini22P Sep 15, 2024
7aa7c5c
workflows: update actions/upload-artifact to v4
nini22P Sep 15, 2024
ea4d642
Merge pull request #310 from nini22P/dev
MakinoharaShoko Sep 16, 2024
e5bb9f3
feat: assets add filter files
nini22P Sep 19, 2024
c25a9f2
Update ci version (#313)
dabao1955 Sep 19, 2024
e6a0254
Merge pull request #315 from nini22P/dev
nini22P Sep 19, 2024
9a67055
update engine to fix bug
MakinoharaShoko Sep 19, 2024
9102f39
update readme
MakinoharaShoko Sep 23, 2024
8634fb0
Merge pull request #308 from OpenWebGAL/dependabot/github_actions/dot…
MakinoharaShoko Sep 23, 2024
f4c560f
fix: enhance safety of writing scene by text editor
MakinoharaShoko Oct 1, 2024
f50ade8
update ci
dabao1955 Sep 19, 2024
d4ec761
update ci
MakinoharaShoko Oct 1, 2024
62fa82d
Merge branch 'main' into dev
MakinoharaShoko Oct 1, 2024
36fc8c6
refactor ci
dabao1955 Oct 24, 2024
0ff294a
Update build-terre.yml
dabao1955 Oct 24, 2024
d1253ca
update engine
MakinoharaShoko Oct 25, 2024
bde7142
engine temporary disable source map
MakinoharaShoko Oct 25, 2024
c024a7e
ci: fix release tag
dabao1955 Oct 25, 2024
6139ad9
ci: fix with tags *.*
dabao1955 Oct 25, 2024
350e87a
fix ci
dabao1955 Oct 25, 2024
fe51f49
Update build-terre.yml
dabao1955 Oct 25, 2024
6bd1248
fix windows upload
dabao1955 Oct 26, 2024
d68138a
update locales
MakinoharaShoko Oct 28, 2024
c5f7099
update version
MakinoharaShoko Oct 28, 2024
aee23cc
Merge pull request #323 from OpenWebGAL/dev
MakinoharaShoko Oct 28, 2024
e824684
fix: engine
MakinoharaShoko Oct 28, 2024
2762ed1
Merge branch 'dev'
MakinoharaShoko Oct 28, 2024
11b949d
update engine to fix intro problem
MakinoharaShoko Nov 3, 2024
1d8aeae
fix engine of effect duplicate problem
MakinoharaShoko Nov 3, 2024
9170f06
fix: engine problem 4.5.9
MakinoharaShoko Nov 4, 2024
06cc674
update version
MakinoharaShoko Nov 4, 2024
0300a39
Merge pull request #328 from OpenWebGAL/dev
MakinoharaShoko Nov 4, 2024
91b8e37
update engine, add intro manual trigger and config for panic overlay.
MakinoharaShoko Nov 9, 2024
ff89f07
add apply template option menu
nini22P Nov 10, 2024
64fc64e
feat: improve file sorting with natural order comparison
A-kirami Nov 11, 2024
72a3669
refactor game list API
nini22P Nov 11, 2024
53399f1
feat: dropdown menu supports quick selection
A-kirami Nov 11, 2024
5859ffb
feat: add debounce to cursor and content change events
A-kirami Nov 11, 2024
2824638
feat: localize Live2D options in SentenceEditor
A-kirami Nov 12, 2024
e39212e
optimize `WheelDropdown`
A-kirami Nov 12, 2024
5057bbd
Merge pull request #330 from A-kirami/feat/natural-sort
nini22P Nov 12, 2024
7a6d14c
Merge pull request #331 from nini22P/refactor-game-list-api
MakinoharaShoko Nov 12, 2024
d2c3348
Merge pull request #334 from A-kirami/feat/localize-live2d-options
MakinoharaShoko Nov 12, 2024
79c762d
fix ci
dabao1955 Nov 12, 2024
533ac0a
[skip ci]Update build-terre.yml
dabao1955 Nov 12, 2024
ef135ac
Merge branch 'dev' into feat/wheel-dropdown
A-kirami Nov 13, 2024
1b78945
feat: add debouncing to WheelDropdown component
A-kirami Nov 13, 2024
3aa3836
Merge branch 'dev' of https://github.com/nini22P/WebGAL_Terre into ap…
nini22P Nov 13, 2024
968a641
refactor: improve debouncing logic
A-kirami Nov 13, 2024
60f5857
feat: apply template to selected games in template editor
nini22P Nov 13, 2024
9fec283
change the delay of denounce in WheelDropdown
MakinoharaShoko Nov 14, 2024
92619ef
feat: text editor: customize font family and font size
tinyAdapter Nov 14, 2024
51adcb4
fix: i18n text polluted by git diff
tinyAdapter Nov 15, 2024
1d01691
refactor: refactor template api
nini22P Nov 15, 2024
5692a50
feat: add directory options when creating new template
nini22P Nov 15, 2024
125c595
Merge pull request #332 from A-kirami/feat/wheel-dropdown
MakinoharaShoko Nov 15, 2024
0b0e3be
Merge branch 'dev' into refactor-template-api
nini22P Nov 16, 2024
165e57b
fix: check the selected template using id
nini22P Nov 16, 2024
afff735
feat: automatically add id when the template does not have one
nini22P Nov 16, 2024
bcfdd82
add missing translations, modifying preset template configurations
nini22P Nov 16, 2024
8bca991
update localization files
nini22P Nov 16, 2024
bccf756
Merge branch 'dev' into refactor-template-api
nini22P Nov 16, 2024
9c9692a
remove OptionMenu type
nini22P Nov 16, 2024
0922105
Merge branch 'dev' into dev-editorfontfamily
MakinoharaShoko Nov 16, 2024
caf57bb
Merge pull request #335 from tinyAdapter/dev-editorfontfamily
MakinoharaShoko Nov 16, 2024
008c145
use lodash, change debounce timeout
MakinoharaShoko Nov 16, 2024
bef6a8f
Merge pull request #333 from A-kirami/feat/text-editor-debounce
MakinoharaShoko Nov 16, 2024
3af579a
Merge branch 'dev' into refactor-template-api
MakinoharaShoko Nov 16, 2024
87e2d0a
fix i18n files
MakinoharaShoko Nov 16, 2024
7dbb1e7
Merge pull request #337 from nini22P/refactor-template-api
MakinoharaShoko Nov 16, 2024
d649c0d
update version
MakinoharaShoko Nov 17, 2024
88de0e5
Update installer.nsi
MakinoharaShoko Nov 17, 2024
fc4c720
Merge pull request #339 from OpenWebGAL/dev
MakinoharaShoko Nov 17, 2024
636f6db
chore(deps): bump cross-spawn from 7.0.3 to 7.0.5
dependabot[bot] Nov 17, 2024
3f829c0
Merge branch 'OpenWebGAL:main' into ci_refactor
dabao1955 Nov 17, 2024
d55cbb0
fix
dabao1955 Nov 17, 2024
db8445d
chore(deps): bump cross-spawn in /packages/WebGAL-electron
dependabot[bot] Nov 20, 2024
e8d95bf
feat: log output to file (#338)
nini22P Nov 23, 2024
ec06eea
feat: AddSentence ShortCut And Ref
ClodLingxi Nov 28, 2024
d0e0f06
feat: Graphical Editor ShortCut And Ref
ClodLingxi Nov 30, 2024
94fafb1
feat(ci): Retrieve the Node.js version from package.json
A-kirami Dec 1, 2024
4b8cde4
feat: AddSentence Hot Custom
ClodLingxi Dec 1, 2024
9129fa9
Create CONTRIBUTING.md
MakinoharaShoko Dec 1, 2024
f77e01d
Merge pull request #348 from A-kirami/ci/node-version-file
MakinoharaShoko Dec 4, 2024
3a9f6b3
Merge pull request #341 from OpenWebGAL/dependabot/npm_and_yarn/packa…
MakinoharaShoko Dec 4, 2024
29f052c
Merge pull request #340 from OpenWebGAL/dependabot/npm_and_yarn/cross…
MakinoharaShoko Dec 4, 2024
d658807
Merge branch 'OpenWebGAL:main' into ci_refactor
dabao1955 Dec 5, 2024
5318443
Merge remote-tracking branch 'origin/dev' into ci_refactor
dabao1955 Dec 5, 2024
3e19f46
Fix
dabao1955 Dec 5, 2024
5f9938d
feat: move Sentence ShortCut config to useEditorStore.ts
ClodLingxi Dec 6, 2024
a72123d
bug: fix index and better focus on
ClodLingxi Dec 8, 2024
23efe78
Merge branch 'dev' into pr/349
MakinoharaShoko Dec 10, 2024
b541f6a
fix: i18n
MakinoharaShoko Dec 10, 2024
29735d4
更新 build-terre.yml
dabao1955 Dec 10, 2024
3a14c8b
更新 build-terre.yml
dabao1955 Dec 10, 2024
6ce55ef
Merge pull request #321 from dabao1955/ci_refactor
MakinoharaShoko Dec 14, 2024
207af2b
Merge branch 'dev' into pr/349
MakinoharaShoko Dec 14, 2024
e644629
fix: color
MakinoharaShoko Dec 14, 2024
08f02c5
fix: the focused content outline in editor
nini22P Dec 18, 2024
b886f51
feat: small update
ClodLingxi Dec 14, 2024
8a74a3d
feat: small update
ClodLingxi Dec 16, 2024
7500805
feat: graphical editor functions interface
ClodLingxi Dec 18, 2024
712592f
feat: focused line are synced between the graphical editor and the co…
nini22P Dec 18, 2024
854b628
bug: fix index bug
ClodLingxi Dec 18, 2024
4141a85
Merge remote-tracking branch 'refs/remotes/ClodLingxi/feat-graphical-…
ClodLingxi Dec 18, 2024
df59be8
fix: focus index bug
nini22P Dec 19, 2024
7de62d4
flex: custom add sentence shortcut config
ClodLingxi Dec 19, 2024
c36d7d4
bug: fix
ClodLingxi Dec 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
custom: https://docs.openwebgal.com/sponsor/
patreon: WebGAL
193 changes: 193 additions & 0 deletions .github/workflows/build-terre.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,193 @@
name: Build WebGAL Terre

on:
workflow_dispatch:
push:
branches:
- main
pull_request:
types:
- opened
- reopened
- synchronize

jobs:
build-linux:
name: Build Linux Binary
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version-file: package.json
cache: 'yarn'
- name: Build
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: sh release-linux.sh
- name: Compress
run: 7z a -tzip release/WebGAL_Terre_Linux.zip release/*
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: WebGAL_Terre_Linux
path: release/WebGAL_Terre_Linux.zip
build-arm64:
name: Build Linux ARM64 Binary
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version-file: package.json
cache: 'yarn'
- name: Build Stage 1
run: |
echo "Welcome to build WebGAL Terre, the editor of WebGAL platform."
# 安装依赖
yarn install --frozen-lockfile
# 清理
test -d release && rm -rf release
mkdir release
# 进入 Terre 目录
cd packages/terre2
yarn run build
- name: Build pkg ARM64
uses: pguyot/arm-runner-action@v2
with:
base_image: raspios_lite_arm64:latest
bind_mount_repository: true
commands: |
apt-get update
apt-get install -y curl sudo
# Install Node.js v18.x
curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -
apt-get install -y nodejs
# Enable yarn
corepack prepare [email protected] --activate
corepack enable yarn
cd packages/terre2
yarn run pkg:linux-arm64
- name: Build Stage 2
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: |
sudo chmod 777 -R .
cd packages/terre2/dist
cp -r WebGAL_Terre ../../../release
rm WebGAL_Terre
cd ../
mkdir Exported_Games
cp -r public assets Exported_Games ../../release
cd ../../
# 进入 Origine 目录
cd packages/origine2
# 低内存,使用下一行限制内存使用
# export NODE_OPTIONS=--max_old_space_size=512000
yarn run build
cp -rf dist/* ../../release/public/
cd ../../
# 进入 Electron 目录
cd packages/WebGAL-electron
yarn install --frozen-lockfile
yarn run build:arm64
mkdir ../../release/assets/templates/WebGAL_Electron_Template
cp -rf build/linux-arm64-unpacked/* ../../release/assets/templates/WebGAL_Electron_Template/
cd ../../
# 克隆 WebGAL Android 模板
cd release/assets/templates/
git clone https://github.com/nini22P/WebGAL-Android.git
mv WebGAL-Android WebGAL_Android_Template
# MainActivity.kt 移动到主文件夹防止误删
mv WebGAL_Android_Template/app/src/main/java/com/openwebgal/demo/MainActivity.kt WebGAL_Android_Template/app/src/main/java/MainActivity.kt
cd ../../../
cd release
# 删除冗余文件
rm -rf Exported_Games/*
rm -rf public/games/*
rm -rf public/games/.gitkeep
rm -rf assets/templates/WebGAL_Template/game/video/*
rm -rf assets/templates/WebGAL_Template/game/video/.gitkeep
rm -rf assets/templates/WebGAL_Android_Template/.github
rm -rf assets/templates/WebGAL_Android_Template/.git
rm -rf assets/templates/WebGAL_Android_Template/.gitattributes
rm -rf assets/templates/WebGAL_Android_Template/app/src/main/assets/webgal/.gitkeep
rm -rf assets/templates/WebGAL_Android_Template/app/src/main/java/com
echo "WebGAL Terre is now ready to be deployed."
- name: Compress
run: 7z a -tzip release/WebGAL_Terre_Linux_Arm64.zip release/*

- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: WebGAL_Terre_Linux_Arm64
path: release/WebGAL_Terre_Linux_Arm64.zip
build-mac:
name: Build MacOS Binary
runs-on: macos-14
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version-file: package.json
cache: 'yarn'
- name: Build
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: sh release-mac.sh
- name: Compress
run: 7z a -tzip release/WebGAL_Terre_Mac.zip release/*
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: WebGAL_Terre_Mac
path: release/WebGAL_Terre_Mac.zip
build-windows:
name: Build Windows Binary
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version-file: package.json
cache: 'yarn'
- name: Build
shell: bash
run: ./release.sh
- name: Compress
run: 7z a -tzip release/WebGAL_Terre_Windows.zip release/*
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: WebGAL_Terre_Windows
path: release/WebGAL_Terre_Windows.zip
build-windows-nsis:
name: Build Windows Setup
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version-file: package.json
cache: 'yarn'
- name: Build
shell: bash
run: ./release.sh
- name: Build Setup
shell: bash
run: mkdir bundle && yarn nsis-bundle
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: WebGAL_Terre_Windows_Setup
path: bundle/WebGal_Terre_Setup.exe
80 changes: 80 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
name: Release WebGAL Terre

on:
workflow_dispatch:
push:
tags:
- '*.*'
jobs:
release:
name: Release
runs-on: ubuntu-latest
needs: ['build-linux','build-arm64','build-mac','build-windows','build-windows-nsis']
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Download artifacts
uses: actions/download-artifact@v4

- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: WebGAL Terre ${{ github.ref }}
body_path: releasenote.md
draft: true
prerelease: false

- name: Upload Linux Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: WebGAL_Terre_Linux/WebGAL_Terre_Linux.zip
asset_name: WebGAL_Terre_Linux_${{ github.ref_name }}.zip
asset_content_type: application/zip

- name: Upload Linux Arm64 Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: WebGAL_Terre_Linux_Arm64/WebGAL_Terre_Linux_Arm64.zip
asset_name: WebGAL_Terre_Linux_Arm64_${{ github.ref_name }}.zip
asset_content_type: application/zip

- name: Upload MacOS Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: WebGAL_Terre_Mac/WebGAL_Terre_Mac.zip
asset_name: WebGAL_Terre_Mac_${{ github.ref_name }}.zip
asset_content_type: application/zip

- name: Upload Windows Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: WebGAL_Terre_Windows/WebGAL_Terre_Windows.zip
asset_name: WebGAL_Terre_Windows_${{ github.ref_name }}.zip
asset_content_type: application/zip

- name: Upload Windows Setup Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: WebGAL_Terre_Windows_Setup/WebGal_Terre_Setup.exe
asset_name: WebGAL_Terre_Windows_Setup_${{ github.ref_name }}.exe
asset_content_type: application/vnd.microsoft.portable-executable
15 changes: 14 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,14 @@
node_modules
node_modules
.idea
release
bundle
yarn.lock
package-lock.json
.DS_Store
terre-electron
packages/origine2/src/locales/en.js
packages/origine2/src/locales/ja.js
packages/origine2/src/locales/zhCn.js
packages/origine2/src/locales/en.ts
packages/origine2/src/locales/ja.ts
packages/origine2/src/locales/zhCn.ts
27 changes: 27 additions & 0 deletions .vscode/translation.code-snippets
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
// Place your WebGAL_Terre 工作区 snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and
// description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope
// is left empty or omitted, the snippet gets applied to all languages. The prefix is what is
// used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders.
// Placeholders with the same ids are connected.
// Example:
// "Print to console": {
// "scope": "javascript,typescript",
// "prefix": "log",
// "body": [
// "console.log('$1');",
// "$2"
// ],
// "description": "Log output to console"
// }
"useTrans": {
"prefix": "uts",
"body": "const t = useTrans($0);"
},

"trans": {
"prefix": "t",
"body": "t($0)"
}
}
5 changes: 5 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
中文 [https://docs.openwebgal.com/developers/](https://docs.openwebgal.com/developers/terre.html)

English [https://docs.openwebgal.com/en/developers/](https://docs.openwebgal.com/en/developers/terre.html)

日本語 [https://docs.openwebgal.com/ja/developers/](https://docs.openwebgal.com/ja/developers/terre.html)
47 changes: 46 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,47 @@
![WebGAL Terre Slogan CN](https://github.com/OpenWebGAL/WebGAL_Terre/assets/30483415/69919753-9068-4465-8b11-a0de89b5a244)


<a href="https://www.producthunt.com/posts/webgal?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-webgal" target="_blank"><img src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=443280&theme=light" alt="WebGAL - Galgame&#0032;Editing&#0046;&#0032;Redefined | Product Hunt" style="width: 250px; height: 54px;" width="250" height="54" /></a>

### [English](README_EN.md) | [日本語](README_JP.md)

## 这是 WebGAL 可视化编辑器项目。如果你想要查看 WebGAL 的源代码,请前往 [WebGAL代码仓库](https://github.com/OpenWebGAL/WebGAL)

# WebGAL_Terre
Backend of WebGAL live editor

**重新定义Galgame的制作方式**

以最快捷的方式创建属于你自己的 Galgame,并支持导出为网页和 Windows 可执行文件。

方便地上传、管理和预览你的游戏素材。

多标签页的编辑器,可以让你快速在多个剧本间切换。

## 立即体验

##### 下载链接

https://github.com/MakinoharaShoko/WebGAL_Terre/releases

## 使用说明

https://docs.openwebgal.com/

## 参与贡献

[WebGAL Terre 贡献指南](https://docs.openwebgal.com/developers/terre.html)

### 赞助

WebGAL 是一款开源软件,因此你可以免费在 MPL-2.0 开源协议的范畴下使用本软件,并可用于商业使用。

但即便如此,你的赞助也可以给予开发者前进的动力,让这个项目变得更好。

[赞助本项目](https://docs.openwebgal.com/sponsor/)


# Sponsors

<a href="https://openwebgal.com/">
<img alt="Sponsor" src="https://raw.githubusercontent.com/OpenWebGAL/static/main/sponsors.png">
</a>
Loading
Loading