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
Commit
9cd81448
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
37f8fbdb
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
4 deletions
+8
-4
dist/CIRCLE_Client_Setup.exe
+0
-0
src/iss/installer/win_install.py
+4
-2
src/python/win_install.py
+4
-2
No files found.
dist/CIRCLE_Client_Setup.exe
View file @
9cd81448
No preview for this file type
src/iss/installer/win_install.py
View file @
9cd81448
...
...
@@ -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 @
9cd81448
...
...
@@ -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