2020-11-17 18:36:30 +00:00
|
|
|
diff --git a/sound-output-device-chooser@kgshank.net/convenience.js b/sound-output-device-chooser@kgshank.net/convenience.js
|
|
|
|
index 54ad06f..0860531 100644
|
2020-03-05 01:07:23 +00:00
|
|
|
--- a/sound-output-device-chooser@kgshank.net/convenience.js
|
|
|
|
+++ b/sound-output-device-chooser@kgshank.net/convenience.js
|
2021-03-22 11:05:37 +00:00
|
|
|
@@ -142,7 +142,7 @@ function refreshCards() {
|
|
|
|
if (newProfLogic) {
|
2020-11-17 18:36:30 +00:00
|
|
|
_log("New logic");
|
2021-03-22 11:05:37 +00:00
|
|
|
let pyLocation = Me.dir.get_child("utils/pa_helper.py").get_path();
|
|
|
|
- let pythonExec = ["python", "python3", "python2"].find(cmd => isCmdFound(cmd));
|
2020-11-17 18:36:30 +00:00
|
|
|
+ let pythonExec = '@python@';
|
2021-03-22 11:05:37 +00:00
|
|
|
if (!pythonExec) {
|
|
|
|
_log("ERROR: Python not found. fallback to default mode");
|
|
|
|
_settings.set_boolean(Prefs.NEW_PROFILE_ID, false);
|
2020-11-17 18:36:30 +00:00
|
|
|
diff --git a/sound-output-device-chooser@kgshank.net/utils/libpulse_introspect.py b/sound-output-device-chooser@kgshank.net/utils/libpulse_introspect.py
|
|
|
|
index c4d2484..262608d 100644
|
2020-03-05 01:07:23 +00:00
|
|
|
--- a/sound-output-device-chooser@kgshank.net/utils/libpulse_introspect.py
|
|
|
|
+++ b/sound-output-device-chooser@kgshank.net/utils/libpulse_introspect.py
|
2021-03-22 11:05:37 +00:00
|
|
|
@@ -82,7 +82,7 @@ else:
|
2020-03-05 01:07:23 +00:00
|
|
|
|
|
|
|
_libraries = {}
|
|
|
|
|
|
|
|
-libpulse_library_name = find_library('pulse')
|
|
|
|
+libpulse_library_name = '@libpulse@'
|
|
|
|
if libpulse_library_name is None:
|
|
|
|
raise Exception('No libpulse.so library found!')
|
|
|
|
|