File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change 1
1
#! /usr/bin/python3 -OOt
2
2
3
3
# --- Version number ---
4
- converterVersion = "001003003 " # Change the number if you want to trigger an update.
4
+ converterVersion = "001003004 " # Change the number if you want to trigger an update.
5
5
# --- Variable to enable debug mode ---
6
6
development_version = False
7
7
8
8
# --- Imports ---
9
+ import sys
9
10
import gi
10
- from gi .repository import GObject , Gtk , Nautilus
11
+ _nemoArgs = sys .argv [1 :len (sys .argv )]
12
+ if len (sys .argv ) > 1 :
13
+ gi .require_version ("Gtk" , "3.0" )
14
+ from gi .repository import Gtk
15
+ else :
16
+ from gi .repository import Gtk
17
+ from gi .repository import GObject , Nautilus
11
18
from typing import List
12
19
from PIL import Image , UnidentifiedImageError
13
20
from urllib .parse import urlparse , unquote
18
25
import os , shlex
19
26
import urllib .request
20
27
import json
21
- import sys
22
28
import ast
23
29
import re
24
30
from multiprocessing import Process
@@ -537,4 +543,4 @@ def openPatchNotes(self, menu):
537
543
os .system (f"nohup xdg-open \" https://github.com/Lich-Corals/linux-file-converter-addon/releases\" &" )
538
544
539
545
def openConfigHint (self , menu ):
540
- os .system (f"nohup xdg-open \" https://github.com/Lich-Corals/linux-file-converter-addon?tab=readme-ov-file#3-configuration\" &" )
546
+ os .system (f"nohup xdg-open \" https://github.com/Lich-Corals/linux-file-converter-addon?tab=readme-ov-file#3-configuration\" &" )
You can’t perform that action at this time.
0 commit comments