mirror of
https://github.com/abusoww/tuxmate.git
synced 2026-04-18 00:03:23 +02:00
refactor: extract AUR/Nix data to json
This commit is contained in:
@@ -105,7 +105,6 @@ export function CommandFooter({
|
||||
helper: selectedHelper,
|
||||
});
|
||||
const isNix = selectedDistro === 'nix';
|
||||
const ext = isNix ? 'nix' : 'sh';
|
||||
const mimeType = isNix ? 'text/plain' : 'text/x-shellscript';
|
||||
const blob = new Blob([script], { type: mimeType });
|
||||
const url = URL.createObjectURL(blob);
|
||||
|
||||
Reference in New Issue
Block a user