From 49f3c0f27c7670aac2a61b27b433c906a0e11e26 Mon Sep 17 00:00:00 2001 From: yutent Date: Wed, 9 Aug 2023 20:21:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=AF=8F=E6=AC=A1=E5=A4=8D=E5=88=B6=E5=89=8D?= =?UTF-8?q?=E5=85=88=E6=B8=85=E9=99=A4=E5=89=AA=E5=88=87=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shotit | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/shotit b/shotit index 001956c..ed961df 100644 --- a/shotit +++ b/shotit @@ -10,7 +10,7 @@ gi.require_version('Gtk', '3.0') from gi.repository import Gtk, Gdk, GLib, GdkPixbuf from PIL import Image, ImageFilter, ImageChops -app_id = 'fun.wkit.shotme' +app_id = 'fun.wkit.shotit' def pixbuf_to_pil(pixbuf): @@ -69,6 +69,7 @@ class Application(Gtk.Application): def copy(self, image): # 写图片进剪切板 + self.clipboard.clear() self.clipboard.set_image(image) self.clipboard.store()