Commit 0f845f2f authored by Tristan A Spakes's avatar Tristan A Spakes

Testing the window resizing issue by allowing dev tools

parent 452d1a5b
Pipeline #23019 failed with stages
in 2 seconds
......@@ -6,7 +6,7 @@ if [[ ${CI_COMMIT_REF_NAME} == 'master' ]]; then
else
BRANCH="-${CI_COMMIT_REF_NAME}"
fi
VERSION_NUMBER='1.0.9'
VERSION_NUMBER='1.0.10'
wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
sudo rpm -ivh epel-release-latest-7.noarch.rpm
sudo yum -y install nodejs npm ruby-devel gcc make rpm-build rubygems
......
......@@ -258,7 +258,7 @@ function createWindow() {
var menu = Menu.buildFromTemplate(menuTemplate);
Menu.setApplicationMenu(menu); //Sets the template as the app menu
//mainWindow.openDevTools() //Opens dev tools on start
mainWindow.openDevTools() //Opens dev tools on start
}
function addWin(file, title, width, height) {
......@@ -306,7 +306,7 @@ function addWin(file, title, width, height) {
})
addWindow.setMenu(null)
//addWindow.openDevTools()
addWindow.openDevTools()
}
}
......
......@@ -3,7 +3,7 @@
"-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
"http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
<policyconfig>
<!--Allows pkexec to work on baobab-->
<action id="org.freedesktop.policykit.pkexec.run-baobab">
<description>Run Baobab</description>
<message>Authentication is required to run Baobab</message>
......
......@@ -4,9 +4,9 @@ DEV_TOOLS_CHECK_MAIN="$(grep 'mainWindow.openDevTools()' main.js)"
DEV_TOOLS_CHECK_ADD="$(grep 'addWindow.openDevTools()' main.js)"
if [[ "${DEV_TOOLS_CHECK_MAIN}" ]]; then
if [[ ! $(echo "${DEV_TOOLS_CHECK_MAIN}" | grep -o '//mainWindow.openDevTools()') ]]; then
exit 1
#exit 1
fi
if [[ ! $(echo "${DEV_TOOLS_CHECK_ADD}" | grep -o '//addWindow.openDevTools()') ]]; then
exit 1
#exit 1
fi
fi
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment