File tree Expand file tree Collapse file tree 3 files changed +20
-0
lines changed
Resources/Installers/Linux/Open-Ephys_Installer Expand file tree Collapse file tree 3 files changed +20
-0
lines changed Original file line number Diff line number Diff line change 72
72
cd ../Resources/Installers/Linux/Open-Ephys_Installer
73
73
mkdir -p usr/local/bin/open-ephys-gui
74
74
cp -r ../../../../Build/Release/* usr/local/bin/open-ephys-gui
75
+ cp ../../../Icons/icon-large.png usr/local/bin/open-ephys-gui
75
76
cp ../../../Scripts/*.rules usr/local/bin/open-ephys-gui
77
+ mkdir -p usr/share/applications
78
+ cp open-ephys.desktop usr/share/applications
76
79
cd ..
77
80
dpkg-deb --build Open-Ephys_Installer
78
81
installer=open-ephys-gui-${gui_ver}${version_suffix}.deb
Original file line number Diff line number Diff line change @@ -11,6 +11,12 @@ if [ "$1" = configure ]; then
11
11
echo " Creating open-ephys symlink to /usr/local/bin..."
12
12
ln -sf open-ephys-gui/open-ephys open-ephys
13
13
14
+ echo " Ensuring desktop entry permissions..."
15
+ chmod 644 /usr/share/applications/open-ephys.desktop
16
+
17
+ echo " Updating desktop database..."
18
+ update-desktop-database -q
19
+
14
20
echo " Installation finished!"
15
21
16
22
fi
Original file line number Diff line number Diff line change
1
+ [Desktop Entry]
2
+ Version =1.0
3
+ Type =Application
4
+ Name =Open Ephys GUI
5
+ Comment =Software for processing, recording, and visualizing multichannel electrophysiology data.
6
+ Exec =/usr/local/bin/open-ephys-gui/open-ephys
7
+ Icon =/usr/local/bin/open-ephys-gui/icon-large.png
8
+ Categories =Science
9
+ Terminal =false
10
+ StartupNotify =true
11
+ Keywords =ephys;electrophysiology;neuroscience;acquisition;visualization;recording;
You can’t perform that action at this time.
0 commit comments