Skip to content

Commit

Permalink
Move to new fork of SKCraft.
Browse files Browse the repository at this point in the history
1.02 AI
  • Loading branch information
joshricker committed Jan 28, 2023
1 parent 8dfb049 commit 550daed
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ subprojects {
apply plugin: 'java'

group = 'com.skcraft'
version = '4.6-SNAPSHOT'
version = '1.02'

java {
toolchain {
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Graphite Background {
colorExtraLight=#444444
colorLight=#333333
colorMid=#222222
colorDark=#111111
colorDark=#000000
colorUltraDark=#000000
colorForeground=#B4B4B4
}
Expand Down
8 changes: 4 additions & 4 deletions launcher/src/main/java/com/skcraft/launcher/Launcher.java
Original file line number Diff line number Diff line change
Expand Up @@ -113,16 +113,16 @@ public void run() {
*/
public void setDefaultConfig() {
double configMax = config.getMaxMemory() / 1024.0;
double suggestedMax = 2;
double suggestedMax = 8;
double available = Double.MAX_VALUE;

try {
OperatingSystemMXBean bean = (OperatingSystemMXBean) ManagementFactory.getOperatingSystemMXBean();
available = bean.getTotalPhysicalMemorySize() / 1024.0 / 1024.0 / 1024.0;
if (available <= 6) {
suggestedMax = available * 0.48;
if (available <= 8) {
suggestedMax = available * 0.75;
} else {
suggestedMax = 4;
suggestedMax = 8;
}
} catch (Exception ignored) {
}
Expand Down
Binary file modified launcher/src/main/resources/com/skcraft/launcher/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified launcher/src/main/resources/com/skcraft/launcher/instance_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ launcher.checkForUpdates=Check for updates
launcher.options=Options...
launcher.updateLauncher=Update launcher...
launcher.downloadUpdates=Download modpack updates
launcher.title=SKCraft Launcher (v{0})
launcher.appTitle=SKCraft Launcher
launcher.title=Automation Inc Launcher (v{0})
launcher.appTitle=Automation Inc Launcher
launcher.refreshList=Refresh list
launcher.checkingTitle=Getting available modpacks...
launcher.checkingStatus=Getting available modpacks... Please wait.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
version=${project.version}

# These can be left as-is or changed to your liking
launcherShortname=SKCLauncher
launcherShortname=Automation Inc Launcher
offlinePlayerName=Player

# Only change these if you know what you're doing.
Expand All @@ -21,6 +21,6 @@ microsoftClientId=d18bb4d8-a27f-4451-a87f-fe6de4436813
resetPasswordUrl=https://minecraft.net/resetpassword

# You MUST change these from the defaults. These URLs are provides as examples only.
newsUrl=https://update.skcraft.com/template/news.html?version=%s
packageListUrl=https://update.skcraft.com/template/packages.json?key=%s
selfUpdateUrl=https://update.skcraft.com/template/launcher/latest.json
newsUrl=http://aiminecraft.com/Launcher/news.html
packageListUrl=http://aiminecraft.com/Launcher/packages.json
selfUpdateUrl=

0 comments on commit 550daed

Please sign in to comment.