This file ( 552B ) exceeds the allowed full mode (48 kb) size.
The editor full hight is disabled, only scrolling is allowed..
If you wish to edit a file, it is recommended to use the scroll mode as some users do not like the full height
mode, although some users like it.
import { app } from 'electron'
export default () => {
let args = process.argv.slice(1)
//console.log('args', args, 'process.env.APPIMAGE', process.env.APPIMAGE)
//console.trace()
if (process.env.APPIMAGE) {
if (args === undefined) {
args = []
}
const options = {args};
options.execPath = process.env.APPIMAGE;
options.args.unshift('--appimage-extract-and-run');
app.relaunch(options);
app.exit(0);
} else {
app.relaunch();
app.exit(0);
}
}