Update build.md
This commit is contained in:
parent
5ef2d02a32
commit
78515c845b
33
build.md
33
build.md
@ -1,41 +1,28 @@
|
|||||||
# its very simple
|
# BUILDING AEROCORD
|
||||||
|
|
||||||
### before u do any of this stuff:
|
## Due to many of the packages aerocord uses to build itself being unsupported (such as esbuild), you will need a Windows 10+ machine
|
||||||
youll need nodejs, assuming youre on an "outdated" windows 7 system: https://git.randomserver.top/aiek/nodejs7
|
youll need nodejs, assuming youre on an "outdated" windows 7 system: https://git.randomserver.top/aiek/nodejs7
|
||||||
|
|
||||||
a brain
|
a brain
|
||||||
|
|
||||||
vscode/vscodium or webstorm
|
VSCode/VSCodium or Webstorm
|
||||||
|
|
||||||
## les do dis!!!!!
|
### 1) Clone the git repo
|
||||||
1. clone your repository (or download as a zip, doesnt matter 1 is just more convenient than the other)
|
|
||||||
|
|
||||||
```git clone https://git.randomserver.top/aiek/aerocord.git```
|
```git clone https://git.randomserver.top/aiek/aerocord.git```
|
||||||
|
|
||||||
2. now open dis in vscode/vscodium or webstorm
|
## 2) Open the folder in VSCode/VSCodium or Webstorm
|
||||||
|
|
||||||
3. go to your terminal, then type:
|
## 3) Go to your terminal, then type:
|
||||||
|
|
||||||
```npm i --force```
|
```npm i --force```
|
||||||
|
|
||||||
this will **forcefully** install everything you need
|
This will **forcefully** install everything you need
|
||||||
|
|
||||||
4. after that is done, build it!
|
## 4). After that is done, build it!
|
||||||
|
|
||||||
```npm run package```
|
```npm run package```
|
||||||
|
|
||||||
NOTE: if this happens to you
|
## 5) Bundle with a [patched](https://git.randomserver.top/aiek/supermium-electron28-patched) electron
|
||||||
|
|
||||||
'pnpm' is not recognized as an internal or external command,
|
This is done by downloading the build, going into the "recources" folder and deleting the "default-app.asar" file (replacing it with the asar file you have just compiled)
|
||||||
operable program or batch file.
|
|
||||||
|
|
||||||
then just do ```npm i pnpm --force``` and try again
|
|
||||||
|
|
||||||
|
|
||||||
after its done building, just grab the asar file out of one of those files (usually found in the recources folder) and bundle it
|
|
||||||
with dis https://git.randomserver.top/aiek/supermium-electron28-patched
|
|
||||||
|
|
||||||
|
|
||||||
if the instructions are **unclear**, hmu on the discord
|
|
||||||
|
|
||||||
https://discord.gg/MnfHDJMqX5
|
|
Reference in New Issue
Block a user