an-anime-game-launcher/scripts/bundle-appimage.cjs
Observer KRypt0n_ 1dfafd3da4
2.1.3
- updated dependencies

From previous commits:
- added Futex2 option for Wine synchronization settings
- fixed 100% CPU Usage lock on Discord RPC (!36)
- added borderless windows option (!35)
- reworked `enhancements` locales structure;
  added separate "Wine", "Game" and "Launcher" sections
  to the "Enhancements" settings
- added "Use terminal" option to run the wine command in a separate terminal window
- fixed `DXVK.apply()` compatibility with Wine-GE 7.* (b1c96039)
- updated Hungarian and Norwegian
- updated notahuman's shaders to v5 (!37)
- disabled terminal usage in flatpaks
2022-02-06 22:00:36 +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.1.3'
});
// Bundle project
bundler.bundle();