an-anime-game-launcher/scripts/bundle-appimage.cjs

40 lines
1 KiB
JavaScript
Raw Normal View History

2022-01-02 03:03:18 +03:00
const path = require('path');
2022-01-02 16:15:30 +03:00
exports.params = {
2022-01-02 03:03:18 +03:00
// .desktop file properties
desktop: {
// Name field
name: 'An Anime Game Launcher',
// Path to the icon
2022-01-02 16:15:30 +03:00
icon: path.join(__dirname, '../public/icons/64x64.png'),
2022-01-02 03:03:18 +03:00
// Categories (defult is Utilities)
categories: ['Game']
},
// Neutralino binary info
binary: {
// Name of the binary (cli.binaryName)
name: 'an-anime-game-launcher',
// Dist folder path
2022-01-02 16:15:30 +03:00
dist: path.join(__dirname, '../dist')
2022-01-02 03:03:18 +03:00
},
2022-01-02 16:15:30 +03:00
// Should AppImage contain Neutralino's dependencies or not
// If true, then AppImage will contain webkit2gtk
includeLibraries: false,
2022-01-02 03:03:18 +03:00
// Some files or folders to copy inside of the the AppImage
copy: {
2022-01-02 16:15:30 +03:00
'public': path.join(__dirname, '../dist/an-anime-game-launcher/public')
2022-01-02 03:03:18 +03:00
},
// Path to the appimage to save
2022-01-02 16:15:30 +03:00
output: path.join(__dirname, '../dist/An Anime Game Launcher.AppImage'),
2022-01-02 03:03:18 +03:00
// Application version
2022-01-02 04:06:01 +03:00
version: '2.0.0-beta-2'
2022-01-02 16:15:30 +03:00
};