an-anime-game-launcher/scripts/bundle-appimage.cjs
Observer KRypt0n_ f8b75f5182
2.2.2
From previous commits:
- removed `js-md5` dependency
- added `core/md5()` function base on system `md5sum` command
  to calculate specified file's md5 hash
- updated `Patch` and `CheckIntegrity` files to follow above changes
- updated Neutralino version
- added `libayatana-appindicator` installation instructions for Fedora
- updated notahuman's shaders
- fixed several packages names in readme
- added DXVK 1.10.1
- added `Wine-GE-Proton 7-7`, `GE-Proton 7-10`, `Lutris 7.2`
- Marked as outdated: `GE-Proton 7-3`, `GE-Proton 7-2`,
  `Wine-GE 7.1-1`, `Wine-GE 7.2-1` and `Wine-GE 7.2-2`
- added `dxvk_list` and `runners_list` fields to the `constants.uri`
- now `DXVK.list()` and `Runners.list()` can fetch the lists changes
  from the launcher's repo
- made DXVK 1.10.1 and Wine-GE-Proton 7-7 default to install
- fixed `xlua.dll` repairing when the patch was applied
2022-03-30 13:27:16 +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.2.2'
});
// Bundle project
bundler.bundle();