Skip to content

Commit d2b6d2a

Browse files
committed
building stuff
1 parent 1d1d8ba commit d2b6d2a

4 files changed

Lines changed: 16 additions & 15 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ The UI layout is fully customisable by moving or resizing tabs.
2525

2626
## Project Files
2727

28-
Project files serve as definitions for all the objects in your project. They should sit at the root of your project directory and be committed to version control. This allows quick saving and loading of data.
28+
Project files serve as definitions for all the objects in your project. They should sit at the root of your project directory and be committed to version control. Project file configuration is autosaved.
2929

3030
A key change from version 1 is that Flex no longer has a game mode. Data is saved and loaded as whatever the definition for the object says. This means you can mix formats (like S1 Mappings and S2 DPLCs for editing Sonic CD data), or even provide custom definitions.
3131

development/build.sh

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,20 @@
11
#!/bin/zsh
2+
electron-packager ./static Flex2 --platform=win32 --arch=x64 \
3+
--asar --overwrite --package-manager yarn \
4+
--win32metadata.CompanyName="Flex 2" \
5+
--win32metadata.FileDescription="Flex 2" \
6+
--win32metadata.ProductName="Flex 2" \
7+
--appCopyright="public domain" \
8+
--icon=./development/icon.ico
9+
electron-packager ./static Flex2 --platform=win32 --arch=ia32 \
10+
--asar --overwrite --package-manager yarn \
11+
--win32metadata.CompanyName="Flex 2" \
12+
--win32metadata.FileDescription="Flex 2" \
13+
--win32metadata.ProductName="Flex 2" \
14+
--appCopyright="public domain" \
15+
--icon=./development/icon.ico
216
electron-packager ./static Flex2 --platform=linux --arch=x64 --asar --overwrite --package-manager yarn
3-
electron-packager ./static Flex2 --platform=win32 --arch=x64 --asar --overwrite --package-manager yarn
4-
electron-packager ./static Flex2 --platform=win32 --arch=ia32 --asar --overwrite --package-manager yarn
517
electron-packager ./static Flex2 --platform=darwin --arch=x64 --asar --overwrite --package-manager yarn
6-
# --all
7-
# --icon app/index.ico
8-
9-
# https://www.christianengvall.se/electron-packager-tutorial/
10-
# https://github.com/electron-userland/electron-builder
1118

1219
zip -r flex2-win32-ia32.zip Flex2-win32-ia32
1320
rm -r Flex2-win32-ia32
@@ -17,5 +24,3 @@ tar cfvz flex2-linux-x64.tar.gz Flex2-linux-x64
1724
rm -r Flex2-linux-x64
1825
tar cfvz flex2-darwin-x64.tar.gz Flex2-darwin-x64
1926
rm -r Flex2-darwin-x64
20-
21-
# set windows resource info

development/icon.ico

133 KB
Binary file not shown.

flex2.idea

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,8 @@ drawing mode fill !
2323
S - scroll to sprite
2424
s3k sonic mapping definition / conversion tools
2525
add flex.json to sonic 2 disassembly
26+
create new file | newFactory={(path)=>{}}
2627
==
2728

2829
check version in documentation tab (move code)
2930
logo / have default as logo?
30-
markdown keyboard shortcuts
31-
32-
====
33-
34-
create new file | newFactory={(path)=>{}}

0 commit comments

Comments
 (0)