Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
neofetch
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
neofetch
Commits
29b7fd58
Commit
29b7fd58
authored
Nov 06, 2016
by
Dylan Araps
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Misc: Fix uname being run 3 times on iOS
parent
c6071010
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
neofetch
neofetch
+3
-3
No files found.
neofetch
View file @
29b7fd58
...
@@ -62,7 +62,7 @@ getmodel() {
...
@@ -62,7 +62,7 @@ getmodel() {
"Mac OS X"
)
model
=
"
$(
sysctl
-n
hw.model
)
"
;;
"Mac OS X"
)
model
=
"
$(
sysctl
-n
hw.model
)
"
;;
"iPhone OS"
)
"iPhone OS"
)
case
"
${
ios_model
:
-$(
uname
-m
)
}
"
in
case
"
${
ios_model
:
=
"
$(
uname
-m
)
"
}
"
in
"iPad1,1"
)
model
=
"iPad"
;;
"iPad1,1"
)
model
=
"iPad"
;;
"iPad2,"
[
1-4]
)
model
=
"iPad2"
;;
"iPad2,"
[
1-4]
)
model
=
"iPad2"
;;
"iPad3,"
[
1-3]
)
model
=
"iPad3"
;;
"iPad3,"
[
1-3]
)
model
=
"iPad3"
;;
...
@@ -772,7 +772,7 @@ getcpu() {
...
@@ -772,7 +772,7 @@ getcpu() {
;;
;;
"iPhone OS"
)
"iPhone OS"
)
case
"
${
ios_model
:
-$(
uname
-m
)
}
"
in
case
"
${
ios_model
:
=
"
$(
uname
-m
)
"
}
"
in
"iPhone1,"
[1-2] |
"iPod1,1"
) cpu=
"Samsung S5L8900 (1) @ 412MHz"
;;
"iPhone1,"
[1-2] |
"iPod1,1"
) cpu=
"Samsung S5L8900 (1) @ 412MHz"
;;
"iPhone2,1"
) cpu=
"Samsung S5PC100 (1) @ 600MHz"
;;
"iPhone2,1"
) cpu=
"Samsung S5PC100 (1) @ 600MHz"
;;
"iPhone3,"
[1-3] |
"iPod4,1"
) cpu=
"Apple A4 (1) @ 800MHz"
;;
"iPhone3,"
[1-3] |
"iPod4,1"
) cpu=
"Apple A4 (1) @ 800MHz"
;;
...
@@ -994,7 +994,7 @@ getgpu() {
...
@@ -994,7 +994,7 @@ getgpu() {
;;
;;
"iPhone OS"
)
"iPhone OS"
)
case
"
${
ios_model
:
-
"
$(
uname
-m
)
"
}
"
in
case
"
${
ios_model
:
=
"
$(
uname
-m
)
"
}
"
in
"iPhone1,"
[
1-2]
)
gpu
=
"PowerVR MBX Lite 3D"
;;
"iPhone1,"
[
1-2]
)
gpu
=
"PowerVR MBX Lite 3D"
;;
"iPhone5,"
[
1-4]
)
gpu
=
"PowerVR SGX543MP3"
;;
"iPhone5,"
[
1-4]
)
gpu
=
"PowerVR SGX543MP3"
;;
"iPhone8,"
[
1-4]
)
gpu
=
"PowerVR GT7600"
;;
"iPhone8,"
[
1-4]
)
gpu
=
"PowerVR GT7600"
;;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment