-
-
Notifications
You must be signed in to change notification settings - Fork 14k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unigine-superposition: init at 1.1 #163820
Conversation
1c2afd8
to
6d00cb6
Compare
6d00cb6
to
1b5df5b
Compare
b36cbf0
to
ed03f88
Compare
/marvin opt-in |
Hi! I'm an experimental bot. My goal is to guide this PR through its stages, hopefully ending with a merge. You can read up on the usage here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also please format with nixpkgs-fmt.
for RES in 16 24 32 48 64 128 256 | ||
do | ||
mkdir -p $out/share/icons/hicolor/"$RES"x"$RES"/apps | ||
cp $INSTALL_DIR/icons/superposition_icon_$RES.png $out/share/icons/hicolor/"$RES"x"$RES"/apps/Superposition.png |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for RES in 16 24 32 48 64 128 256 | |
do | |
mkdir -p $out/share/icons/hicolor/"$RES"x"$RES"/apps | |
cp $INSTALL_DIR/icons/superposition_icon_$RES.png $out/share/icons/hicolor/"$RES"x"$RES"/apps/Superposition.png | |
for RES in 16 24 32 48 64 128 256; do | |
mkdir -p $out/share/icons/hicolor/"$RES"x"$RES"/apps | |
cp $INSTALL_DIR/icons/superposition_icon_$RES.png $out/share/icons/hicolor/"$RES"x"$RES"/apps/Superposition.png |
# create .desktop file | ||
echo "[Desktop Entry]" > $DESKTOP | ||
echo "Type=Application" >> $DESKTOP | ||
echo "Exec=$EXEC" >> $DESKTOP | ||
echo "Path=$INSTALL_DIR/bin" >> $DESKTOP | ||
echo "Name=Superposition Benchmark" >> $DESKTOP | ||
echo "GenericName=A GPU Stress test tool from the UNIGINE" >> $DESKTOP | ||
echo "Icon=Superposition" >> $DESKTOP | ||
echo "Terminal=false" >> $DESKTOP | ||
echo "Categories=Launcher;Benchmark;" >> $DESKTOP |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use createDesktopItem.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe makeDesktopItem?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Both actually.
b8f6716
to
a30ed69
Compare
20836aa
to
d85b2aa
Compare
5732b80
to
9ad6114
Compare
9ad6114
to
83a42f0
Compare
I want to add The Unigine Superposition GPU benchmarking tool. People will be able to install this benchmarking tool on nixos and benchmark their GPU.