Skip to content
This repository was archived by the owner on Mar 14, 2020. It is now read-only.

Commit 5ae8501

Browse files
author
ETCG
committed
V4
1 parent c7f39d0 commit 5ae8501

23 files changed

Lines changed: 404 additions & 39 deletions

BootableDriveMaker.app/Contents/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<key>NSPrincipalClass</key>
66
<string>NSApplication</string>
77
<key>CFBundleIconFile</key>
8-
<string></string>
8+
<string>BootableDriveMaker.icns</string>
99
<key>CFBundlePackageType</key>
1010
<string>APPL</string>
1111
<key>CFBundleGetInfoString</key>
9.52 KB
Binary file not shown.

BootableDriveMaker.app/Contents/MacOS/run.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,16 @@
33
#################
44
# Set Variables #
55
#################
6-
copyFile=`cat path.txt`
76
devID=`cat devID.txt`
7+
copyFile=`cat path.txt`
8+
fileExt=${copyFile##*.}
89

910
#############
1011
# Copy File #
1112
#############
1213
echo "Copying..." > currStep.txt
1314
echo "Copying File To Needed Location..." >> cmdOut.txt 2>&1
14-
cp "$copyFile" "file.iso"
15+
cp "$copyFile" "file.$fileExt"
1516
if [ "$?" != "0" ]
1617
then
1718
exitValue=$?
@@ -23,6 +24,8 @@ fi
2324
##################
2425
# Convert To IMG #
2526
##################
27+
if [ "$fileExt" == "iso" ]
28+
then
2629
echo "Converting..." > currStep.txt
2730
echo "Converting The ISO To IMG..." >> cmdOut.txt 2>&1
2831
hdiutil convert -format UDRW -o "file.img.dmg" "file.iso" >> cmdOut.txt 2>&1
@@ -33,6 +36,7 @@ then
3336
echo "ERROR: Conversion Failed. Invalid ISO?" >> cmdOut.txt 2>&1
3437
exit $?
3538
fi
39+
fi
3640

3741
################
3842
# Unmount Disk #
Binary file not shown.

BootableDriveMaker.dmg

27.7 KB
Binary file not shown.

README.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,27 @@
11
# Bootable Drive Maker For Mac
22

33
# Description
4-
This application was created to make a more user-friendly version of the shell-script "Bootable Drive Maker," created by ETCG.
4+
Using an intuitive simple-to-use GUI, Bootable Drive Maker provides a seamless way to create a bootable USB drive in Mac OS X.
55

66
# Copyright
77
Copyright 2016 ETCG
88

99
This entire project (and the libraries it uses) are licensed under the LGPL. Please read COPYING and COPYING.LESSER for your rights.
1010

1111
# Usage
12-
1. Unzip BootableDriveMaker.zip, and navigate into the created folder.
13-
2. Move BootableDriveMaker.app to your Desktop or Documents folder.
14-
3. Double-Click BootableDriveMaker.app.
15-
4. Click the "Click To Open" button.
12+
1. Mount the included DMG (double click it).
13+
2. Either drag the application to your applications folder or move it to your Desktop or Documents folder.
14+
3. Open the application.
15+
4. Click the "Select An ISO" button.
1616
5. Navigate through your files until you reach your downloaded Operating System ISO.
17-
6. THIS STEP IS VERY IMPORTANT. Change the "Device Number" to your flash drive's device number (typically 1 or 2, but you'll need to check).
17+
6. THIS STEP IS VERY IMPORTANT. Select the target drive in the dropdown list (the application selects the first attached external drive by default).
1818
7. Click "Start". To stop the process at any time, click "Cancel" (this button will show up after you click start).
19-
8. Wait for the drive to finish getting created (normally takes under 20 minutes).
19+
8. Wait for the drive to finish getting created (normally takes under 3 minutes, but changes with OS size).
2020
9. Click "Quit" (this button will show up after the drive is done being created).
2121

2222
Congrats! Your drive should have been created.
23-
If you got an error message, please send me a message with the contact info below.
23+
24+
If you got an error message, please read the output, and if you can't correct the problem on your own, send me a message with the contact info below.
2425

2526
# More Projects By ETCG
2627
To see more of my projects, go to:

source/.DS_Store

-6 KB
Binary file not shown.

source/BootableDriveMaker.pro

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,5 @@ HEADERS += mainwindow.h \
2020
guihandler.h
2121

2222
FORMS += mainwindow.ui
23+
24+
ICON = BootableDriveMaker.icns
262 KB
Binary file not shown.
63.4 KB
Loading

0 commit comments

Comments
 (0)