chrismessina / greasekit

Automatically exported from code.google.com/p/greasekit
MIT License
0 stars 1 forks source link

Keeps pop up "Please remove Creammonkey" #41

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
1.7, osx 10.5.8, safari 4.0.3, simbl 0.8.2
No dir "~/Library/InputManagers/Creammonkey/" & 
"~/Library/InputManagers/GreaseKit/"
Safari pops up "Please remove Creammonkey" every time

simply patch with initial value of isDir seems work
Index: CMController.m
===========================================================
========
--- CMController.m  (revision 194)
+++ CMController.m  (working copy)
@@ -164,7 +164,7 @@
 {
     NSString* path = [CM_BUNDLE_PATH stringByExpandingTildeInPath];

-    BOOL isDir;
+    BOOL isDir = 0;
     [[NSFileManager defaultManager] fileExistsAtPath: path
                                          isDirectory: &isDir];
     if (! isDir) {
@@ -181,7 +181,7 @@
 {
     NSString* path = [GK_INPUT_MANAGER_PATH stringByExpandingTildeInPath];

-    BOOL isDir;
+    BOOL isDir = 0;
     [[NSFileManager defaultManager] fileExistsAtPath: path
                                          isDirectory: &isDir];
     if (! isDir) {

Original issue reported on code.google.com by freewiz...@gmail.com on 2 Oct 2009 at 11:45

GoogleCodeExporter commented 9 years ago
I can confirm that this indeed fix this problem with 1.7.
Thanks for the patch freewiz!

Original comment by nay...@gmail.com on 21 Oct 2009 at 11:33

GoogleCodeExporter commented 9 years ago
Any chance this could make it to us non-programmers? The google groups are 
spam-tastic and that popup is 
really annoying. I have no idea where to find the file you are working on, so I 
can't fix it myself. Any help would 
be appreciated.

Original comment by aaronbl...@gmail.com on 30 Mar 2010 at 12:49