added automatic building for instance files
This commit is contained in:
parent
03d20fb10b
commit
a66606ee34
9 changed files with 192 additions and 0 deletions
40
.forgejo/workflows/BuildExports.yaml
Normal file
40
.forgejo/workflows/BuildExports.yaml
Normal file
|
@ -0,0 +1,40 @@
|
|||
name: Build Exported Instance Files
|
||||
on: [push]
|
||||
jobs:
|
||||
Build Prism Launcher Export:
|
||||
runs-on: docker
|
||||
container: catthehacker/ubuntu:act-latest
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: ZIP export files
|
||||
run: |
|
||||
mkdir -p /export
|
||||
cp -r ./instance/prism export
|
||||
zip -r export.zip /export
|
||||
|
||||
- name: Upload export file
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: Prism Launcher.zip
|
||||
path: /export/export.zip
|
||||
|
||||
Build ATLauncher Export:
|
||||
runs-on: docker
|
||||
container: catthehacker/ubuntu:act-latest
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: ZIP export files
|
||||
run: |
|
||||
mkdir -p /export
|
||||
cp -r ./instance/atlauncher export
|
||||
zip -r export.zip /export
|
||||
|
||||
- name: Upload export file
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: ATLauncher.zip
|
||||
path: /export/export.zip
|
BIN
instance/atlauncher/.minecraft/galacticfactory-updater.jar
Normal file
BIN
instance/atlauncher/.minecraft/galacticfactory-updater.jar
Normal file
Binary file not shown.
38
instance/atlauncher/instance.cfg
Normal file
38
instance/atlauncher/instance.cfg
Normal file
|
@ -0,0 +1,38 @@
|
|||
#Exported by ATLauncher
|
||||
#Wed Nov 15 21:18:55 GMT 2023
|
||||
notes=
|
||||
LogPrePostOutput=true
|
||||
WrapperCommand=null
|
||||
LWJGLVersion=
|
||||
ShowConsoleOnError=true
|
||||
OverrideMCLaunchMethod=false
|
||||
iconKey=default
|
||||
MaxMemAlloc=4096
|
||||
OverrideNativeWorkarounds=false
|
||||
PostExitCommand=null
|
||||
MCLaunchMethod=LauncherPart
|
||||
UseNativeGLFW=false
|
||||
MinecraftWinHeight=480
|
||||
JVMArgs=-javaagent\:galacticfactory-updater.jar -XX\:+UnlockExperimentalVMOptions -XX\:+UseG1GC -XX\:G1NewSizePercent\=20 -XX\:G1ReservePercent\=20 -XX\:MaxGCPauseMillis\=50 -XX\:G1HeapRegionSize\=32M
|
||||
OverrideJava=false
|
||||
OverrideJavaArgs=true
|
||||
LaunchMaximized=false
|
||||
AutoCloseConsole=false
|
||||
InstanceType=OneSix
|
||||
OverrideCommands=false
|
||||
lastLaunchTime=
|
||||
totalTimePlayed=0
|
||||
UseNativeOpenAL=false
|
||||
PermGen=256
|
||||
IntendedVersion=
|
||||
JavaPath=C\:\\Program Files\\Eclipse Adoptium\\jdk-8.0.392.8-hotspot\\bin\\javaw.exe
|
||||
OverrideJavaLocation=false
|
||||
ForgeVersion=false
|
||||
LiteloaderVersion=
|
||||
OverrideMemory=false
|
||||
PreLaunchCommand=null
|
||||
name=GalacticFactory
|
||||
OverrideWindow=false
|
||||
ShowConsole=false
|
||||
MinecraftWinWidth=854
|
||||
OverrideConsole=false
|
39
instance/atlauncher/mmc-pack.json
Normal file
39
instance/atlauncher/mmc-pack.json
Normal file
|
@ -0,0 +1,39 @@
|
|||
{
|
||||
"components": [
|
||||
{
|
||||
"cachedName": "LWJGL 3",
|
||||
"cachedVersion": "3.3.1",
|
||||
"cachedVolatile": true,
|
||||
"dependencyOnly": true,
|
||||
"uid": "org.lwjgl3",
|
||||
"version": "3.3.1"
|
||||
},
|
||||
{
|
||||
"cachedName": "Minecraft",
|
||||
"cachedRequires": [
|
||||
{
|
||||
"equals": "3.3.1",
|
||||
"suggests": "3.3.1",
|
||||
"uid": "org.lwjgl3"
|
||||
}
|
||||
],
|
||||
"cachedVersion": "1.20.1",
|
||||
"important": true,
|
||||
"uid": "net.minecraft",
|
||||
"version": "1.20.1"
|
||||
},
|
||||
{
|
||||
"cachedName": "Forge",
|
||||
"cachedRequires": [
|
||||
{
|
||||
"equals": "1.20.1",
|
||||
"uid": "net.minecraft"
|
||||
}
|
||||
],
|
||||
"cachedVersion": "47.2.0",
|
||||
"uid": "net.minecraftforge",
|
||||
"version": "47.2.0"
|
||||
}
|
||||
],
|
||||
"formatVersion": 1
|
||||
}
|
BIN
instance/prism/galacticfactory.png
Normal file
BIN
instance/prism/galacticfactory.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 96 KiB |
20
instance/prism/instance.cfg
Normal file
20
instance/prism/instance.cfg
Normal file
|
@ -0,0 +1,20 @@
|
|||
[General]
|
||||
ConfigVersion=1.2
|
||||
iconKey=galacticfactory
|
||||
name=GalacticFactory
|
||||
InstanceType=OneSix
|
||||
JoinServerOnLaunch=false
|
||||
OverrideCommands=false
|
||||
OverrideConsole=false
|
||||
notes=
|
||||
OverrideEnv=false
|
||||
OverrideGameTime=false
|
||||
OverrideJavaArgs=false
|
||||
OverrideJavaLocation=false
|
||||
OverrideLegacySettings=false
|
||||
OverrideMemory=false
|
||||
OverrideMiscellaneous=false
|
||||
OverrideNativeWorkarounds=false
|
||||
OverridePerformance=false
|
||||
OverrideWindow=false
|
||||
UseAccountForInstance=false
|
Binary file not shown.
42
instance/prism/mmc-pack.json
Normal file
42
instance/prism/mmc-pack.json
Normal file
|
@ -0,0 +1,42 @@
|
|||
{
|
||||
"components": [
|
||||
{
|
||||
"cachedName": "LWJGL 3",
|
||||
"cachedVersion": "3.3.1",
|
||||
"cachedVolatile": true,
|
||||
"dependencyOnly": true,
|
||||
"uid": "org.lwjgl3",
|
||||
"version": "3.3.1"
|
||||
},
|
||||
{
|
||||
"cachedName": "Minecraft",
|
||||
"cachedRequires": [
|
||||
{
|
||||
"suggests": "3.3.1",
|
||||
"uid": "org.lwjgl3"
|
||||
}
|
||||
],
|
||||
"cachedVersion": "1.20.1",
|
||||
"important": true,
|
||||
"uid": "net.minecraft",
|
||||
"version": "1.20.1"
|
||||
},
|
||||
{
|
||||
"cachedName": "Forge",
|
||||
"cachedRequires": [
|
||||
{
|
||||
"equals": "1.20.1",
|
||||
"uid": "net.minecraft"
|
||||
}
|
||||
],
|
||||
"cachedVersion": "47.2.0",
|
||||
"uid": "net.minecraftforge",
|
||||
"version": "47.2.0"
|
||||
},
|
||||
{
|
||||
"cachedName": "GalacticFactory Updater (agent)",
|
||||
"uid": "custom.agent.3998bcfe-672e-4555-bda4-53c9b6f35f23"
|
||||
}
|
||||
],
|
||||
"formatVersion": 1
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"+agents": [
|
||||
{
|
||||
"MMC-displayname": "GalacticFactory Updater",
|
||||
"MMC-filename": "3998bcfe-672e-4555-bda4-53c9b6f35f23.jar",
|
||||
"MMC-hint": "local",
|
||||
"name": "custom.agents:3998bcfe-672e-4555-bda4-53c9b6f35f23:1"
|
||||
}
|
||||
],
|
||||
"formatVersion": 1,
|
||||
"name": "GalacticFactory Updater (agent)",
|
||||
"uid": "custom.agent.3998bcfe-672e-4555-bda4-53c9b6f35f23"
|
||||
}
|
Reference in a new issue