diff --git a/src/commands.ts b/src/commands.ts index 8711ef82..e92542fb 100644 --- a/src/commands.ts +++ b/src/commands.ts @@ -1005,7 +1005,7 @@ async function supportCMD(shell: Shell) { // Check the choice and perform the action if (choice == "Copy log to clipboard") { // Saving the log to the clipboard - let log = terminal7.dumpLog() + const log = terminal7.dumpLog() await Clipboard.write({string: (await log).toString()}) shell.t.writeln("Log copied to clipboard.") shell.t.writeln("Please paste into discord support channel.") diff --git a/src/terminal7.ts b/src/terminal7.ts index 6598e81b..d9aa79c4 100644 --- a/src/terminal7.ts +++ b/src/terminal7.ts @@ -20,7 +20,6 @@ import { randomBytes } from 'ed25519-keygen/utils' import { Capacitor } from '@capacitor/core' import { App } from '@capacitor/app' -import { Clipboard } from '@capacitor/clipboard' import { Network } from '@capacitor/network' import { Preferences } from '@capacitor/preferences' import { Device } from '@capacitor/device'