diff --git a/package.json b/package.json index a90983d..3c66014 100644 --- a/package.json +++ b/package.json @@ -2,16 +2,24 @@ "name": "aeromc", "version": "0.37.1", "description": "AeroMC – Instanz-basierter Minecraft-Launcher (à la MultiMC/Prism)", + "homepage": "https://M_Viper.de", "main": "src/main.js", - "author": "AeroMC", + "author": "M_Viper", + "repository": { + "type": "git", + "url": "https://git.viper.ipv64.net" + }, "license": "MIT", "scripts": { "start": "electron .", - "build": "electron-builder --win --x64" + "build": "electron-builder --win nsis --x64 && node -e \"const fs=require('fs');const path=require('path');['dist/builder-debug.yml','dist/builder-effective-config.yaml','dist/win-unpacked'].forEach((target)=>fs.rmSync(target,{recursive:true,force:true}));if(fs.existsSync('dist')){const source=path.join('dist','AeroMC.exe');const target=path.join('dist','AeroMC-Setup.exe');if(fs.existsSync(target))fs.rmSync(target,{force:true});if(fs.existsSync(source))fs.renameSync(source,target);for(const name of fs.readdirSync('dist')){if((name.endsWith('.exe')&&name!=='AeroMC-Setup.exe')||name.endsWith('.blockmap')){fs.rmSync(path.join('dist',name),{force:true})}}}\"", + "build:portable": "electron-builder --win portable --x64 && node -e \"const fs=require('fs');const path=require('path');['dist/builder-debug.yml','dist/builder-effective-config.yaml','dist/win-unpacked'].forEach((target)=>fs.rmSync(target,{recursive:true,force:true}));if(fs.existsSync('dist')){for(const name of fs.readdirSync('dist')){if((name.endsWith('.exe')&&name!=='AeroMC.exe')||name.endsWith('.blockmap')){fs.rmSync(path.join('dist',name),{force:true})}}}\"" }, "build": { "appId": "com.aeromc.launcher", "productName": "AeroMC", + "artifactName": "AeroMC.${ext}", + "compression": "store", "files": [ "src/**/*", "package.json" diff --git a/src/assets/icon.ico b/src/assets/icon.ico new file mode 100644 index 0000000..08ab174 Binary files /dev/null and b/src/assets/icon.ico differ diff --git a/src/icons.js b/src/icons.js index e9f5c4c..a0ed6a5 100644 --- a/src/icons.js +++ b/src/icons.js @@ -34,6 +34,15 @@ const WANTED = [ ['iron', 'item/iron_ingot.png', 'Eisenbarren'], ['redstone', 'item/redstone.png', 'Redstone'], ['coal', 'item/coal.png', 'Kohle'], + ['potion', 'item/potion.png', 'Trank'], + ['paper', 'item/paper.png', 'Papier'], + ['feather', 'item/feather.png', 'Feder'], + ['slimeball', 'item/slime_ball.png', 'Schleimball'], + ['magma', 'item/magma_cream.png', 'Magmacreme'], + ['quartz', 'item/quartz.png', 'Netherquarz'], + ['brick', 'item/brick.png', 'Ziegel'], + ['cookie', 'item/cookie.png', 'Keks'], + ['snowball', 'item/snowball.png', 'Schneeball'], ['sword', 'item/diamond_sword.png', 'Diamantschwert'], ['pickaxe', 'item/diamond_pickaxe.png', 'Diamantspitzhacke'], ['axe', 'item/diamond_axe.png', 'Diamantaxt'], @@ -51,6 +60,8 @@ const WANTED = [ ['cake', 'item/cake.png', 'Kuchen'], ['bucket', 'item/water_bucket.png', 'Wassereimer'], ['lava', 'item/lava_bucket.png', 'Lavaeimer'], + ['chest', 'item/chest.png', 'Truhe'], + ['creeper', 'item/creeper_head.png', 'Creeper-Kopf'], ['tnt_item', 'item/gunpowder.png', 'Schwarzpulver'], ]; diff --git a/src/index.html b/src/index.html index 50b9c6c..b31b7ff 100644 --- a/src/index.html +++ b/src/index.html @@ -184,199 +184,263 @@