an-anime-game-launcher/scripts/bundle-appimage.cjs
Observer KRypt0n_ f7cb1e7d24
2.0.0 beta 9
- added some buttons to settings menu
  + winetricks
  + winecfg
  + launcher folder
  + game folder
- made `Button` component
- fixed textarea and input background in dark theme in tables

From previous commits:
- made outdated files deletion
- reworked runners selection list
- removed `purge_dxvk_logs` config
- added `purge_logs.game` and `purge_logs.launcher` configs
- now launcher can delete its own old log files
- made DXVK logs deletion option works
- `Patch/Stream`'s `patchFinish()` callback now have `result: boolean` argument
  which indicates whether the patch was successfully applied
- `Patch/Stream` now also logs patch script output
- if the patch wasn't successfully applied - then `ApplyPatch` script
  will show user a notification about it
- also was fixed notification icon in telemetry checking
- fixed typo in notahuman's shaders
2022-01-07 23:27:55 +02:00

46 lines
1.2 KiB
JavaScript

const path = require('path');
// Require bundler
const { Bundler } = require('neutralino-appimage-bundler');
// Create an object with some params
const bundler = new Bundler({
// .desktop file properties
desktop: {
// Name field
name: 'An Anime Game Launcher',
// Path to the icon
icon: path.join(__dirname, '../public/icons/64x64.png'),
// Categories (defult is Utilities)
categories: ['Game']
},
// Neutralino binary info
binary: {
// Name of the binary (cli.binaryName)
name: 'an-anime-game-launcher',
// Dist folder path
dist: path.join(__dirname, '../dist')
},
// Should AppImage contain Neutralino's dependencies or not
// If true, then AppImage will contain binary's shared libraries
includeLibraries: false,
// Some files or folders to copy inside of the the AppImage
copy: {
'public': path.join(__dirname, '../dist/an-anime-game-launcher/public')
},
// Path to the appimage to save
output: path.join(__dirname, '../dist/An Anime Game Launcher.AppImage'),
// Application version
version: '2.0.0-beta-9'
});
// Bundle project
bundler.bundle();