Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
client
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
2
Merge Requests
0
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
A prog2-höz tartozó friss repo anyagok itt elérhetőek:
https://git.iit.bme.hu/
Commit
3523e319
authored
Sep 03, 2014
by
Csók Tamás
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
client: pythonw.exe got running directory prefix at the url handling scheme
parent
55a9b4dd
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
src/iss/installer/win_install.py
+4
-2
src/python/win_install.py
+4
-2
No files found.
src/iss/installer/win_install.py
View file @
3523e319
...
...
@@ -10,6 +10,7 @@ import argparse
import
subprocess
import
pythoncom
import
shutil
import
sys
from
win32com.shell
import
shell
,
shellcon
import
windowsclasses
try
:
...
...
@@ -144,8 +145,9 @@ def main():
(
'circle
\\
URL Protocol'
,
""
),
(
'circle
\\
DefaultIcon'
,
args
.
location
+
"cloud.ico"
),
(
'circle
\\
shell'
,
{
'open'
:
{
'command'
:
"
\"
pythonw.exe
\"
\"
%
s"
%
args
.
location
+
"cloud.py
\"
\"
%1
\"
"
}})])
'command'
:
r'"
%
s\pythonw.exe"'
%
sys
.
exec_prefix
+
r' "
%
s'
%
args
.
location
+
r'\cloud.py" "
%1
"'
}})])
custom_protocol_register
(
custom_protocol
)
except
:
print
"Error! URL Protocol handler installation aborted!"
...
...
src/python/win_install.py
View file @
3523e319
...
...
@@ -10,6 +10,7 @@ import argparse
import
subprocess
import
pythoncom
import
shutil
import
sys
from
win32com.shell
import
shell
,
shellcon
import
windowsclasses
try
:
...
...
@@ -144,8 +145,9 @@ def main():
(
'circle
\\
URL Protocol'
,
""
),
(
'circle
\\
DefaultIcon'
,
args
.
location
+
"cloud.ico"
),
(
'circle
\\
shell'
,
{
'open'
:
{
'command'
:
"
\"
pythonw.exe
\"
\"
%
s"
%
args
.
location
+
"cloud.py
\"
\"
%1
\"
"
}})])
'command'
:
r'"
%
s\pythonw.exe"'
%
sys
.
exec_prefix
+
r' "
%
s'
%
args
.
location
+
r'\cloud.py" "
%1
"'
}})])
custom_protocol_register
(
custom_protocol
)
except
:
print
"Error! URL Protocol handler installation aborted!"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment