|
|
@@ -0,0 +1,26 @@
|
|
|
+diff --git a/native/install.sh b/native/install.sh
|
|
|
+index f3c3aca..e365fca 100755
|
|
|
+--- a/native/install.sh
|
|
|
++++ b/native/install.sh
|
|
|
+@@ -6,7 +6,7 @@
|
|
|
+
|
|
|
+ set -eu
|
|
|
+
|
|
|
+-EXTENSION_NAME="job_search_background"
|
|
|
++EXTENSION_NAME="job_search_background.prod"
|
|
|
+ EXTENSION_BACKEND_PATH=$(realpath $0 | xargs dirname)
|
|
|
+ EXTENSION_BIN=${EXTENSION_BACKEND_PATH}/run.sh
|
|
|
+
|
|
|
+diff --git a/src/Background.purs b/src/Background.purs
|
|
|
+index 885ac8e..a742a65 100644
|
|
|
+--- a/src/Background.purs
|
|
|
++++ b/src/Background.purs
|
|
|
+@@ -24,7 +24,7 @@ import LinkedIn.Output.Types (Output(..))
|
|
|
+ main :: Effect Unit
|
|
|
+ main = do
|
|
|
+ log "[bg] starting up"
|
|
|
+- port <- connectToNativeApplication "job_search_background"
|
|
|
++ port <- connectToNativeApplication "job_search_background.prod"
|
|
|
+ onNativeMessageAddListener port nativeMessageHandler
|
|
|
+ onNativeDisconnectAddListener port \p -> log $ "disconnected from native port " <> p.name <> " (" <> p.error <> ")"
|
|
|
+
|