You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
720 B
44 lines
720 B
|
|
async function main() { |
|
const PAYLOAD = window.workingDir + '/devilutionx.elf'; |
|
|
|
return { |
|
mainText: "DevilutionX", |
|
secondaryText: 'Diablo build for modern OSes', |
|
onclick: async () => { |
|
return { |
|
path: PAYLOAD, |
|
args: '' |
|
}; |
|
}, |
|
options: [ |
|
{ |
|
text: "Force Shareware mode", |
|
onclick: async () => { |
|
return { |
|
path: PAYLOAD, |
|
args: '--spawn' |
|
}; |
|
} |
|
}, |
|
{ |
|
text: "Force Diablo mode", |
|
onclick: async () => { |
|
return { |
|
path: PAYLOAD, |
|
args: '--diablo' |
|
}; |
|
} |
|
}, |
|
{ |
|
text: "Force Hellfire mode", |
|
onclick: async () => { |
|
return { |
|
path: PAYLOAD, |
|
args: '--hellfire' |
|
}; |
|
} |
|
} |
|
] |
|
}; |
|
}
|
|
|