mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-05-21 16:20:46 +08:00
@@ -1,7 +1,7 @@
|
||||
import db from '#/datastore'
|
||||
import { clipboard } from 'electron'
|
||||
|
||||
export function handleCopyUrl (str: string): void {
|
||||
export const handleCopyUrl = (str: string): void => {
|
||||
if (db.get('settings.autoCopy') !== false) {
|
||||
clipboard.writeText(str)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user