mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00:09 +00:00
fix to last fix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
f1d71d6e2c
commit
c35d025a2f
@ -50,9 +50,9 @@ while true ; do
|
||||
echo "0) Multi flash card mode is `[[ $MULTI ]] && echo "on" || echo "off"`"
|
||||
echo "1) Directoy description is: \"$TITLE\"."
|
||||
if [[ ! $DRIVE ]] ; then
|
||||
echo "a-z) type a drive letter."
|
||||
echo "a-z) type a drive letter and start."
|
||||
else
|
||||
echo "a-z) type a new drive letter."
|
||||
echo "a-z) type a new drive letter and start."
|
||||
echo "Enter) copy drive ${DRIVE}"
|
||||
fi
|
||||
echo "2) build."
|
||||
@ -125,7 +125,7 @@ while true ; do
|
||||
|
||||
|
||||
# exit interactive mode...
|
||||
if [[ ! $INTERACTIVE || $LAST ]] ; then
|
||||
if [[ ! $MULTI || ! $INTERACTIVE || $LAST ]] ; then
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
@ -48,7 +48,10 @@ if(window.CEF_dumpJSON != null){
|
||||
|
||||
window.osPath = function(p){
|
||||
return path
|
||||
.normalize(p.replace(/file:\/\/(\/[a-zA-Z]:|\/)/, '$1'))
|
||||
// we can have two types of path:
|
||||
// file:///some/path -> /some/path
|
||||
// file:///X:/some/other/path -> X:/some/other/path
|
||||
.normalize(p.replace(/file:\/+([a-zA-Z]:\/|\/)/, '$1'))
|
||||
}
|
||||
window.execPathPush = function(p){
|
||||
process.env.PATH += ';' + path.normalize(path.dirname(process.execPath) + '/' + p)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user