add hoc notification icon -- thanks ppkantorski!
This commit is contained in:
BIN
Source/hoc-clk/assets/hoc.rgba
Normal file
BIN
Source/hoc-clk/assets/hoc.rgba
Normal file
Binary file not shown.
@@ -36,6 +36,8 @@ echo "*** assets ***"
|
|||||||
mkdir -p "$DIST_DIR/config/horizon-oc"
|
mkdir -p "$DIST_DIR/config/horizon-oc"
|
||||||
cp -vf "$ROOT_DIR/config.ini.template" "$DIST_DIR/config/horizon-oc/config.ini.template"
|
cp -vf "$ROOT_DIR/config.ini.template" "$DIST_DIR/config/horizon-oc/config.ini.template"
|
||||||
cp -vf "$ROOT_DIR/../../README.md" "$DIST_DIR/README.md"
|
cp -vf "$ROOT_DIR/../../README.md" "$DIST_DIR/README.md"
|
||||||
|
mkdir -p "$DIST_DIR/config/ultrahand/assets/notifications"
|
||||||
|
cp -vf "$ROOT_DIR/assets/hoc.rgba" "$DIST_DIR/config/ultrahand/assets/notifications/hoc.rgba"
|
||||||
|
|
||||||
echo "*** lang ***"
|
echo "*** lang ***"
|
||||||
cp -r "$ROOT_DIR/overlay/lang/" "$DIST_DIR/config/horizon-oc/lang/"
|
cp -r "$ROOT_DIR/overlay/lang/" "$DIST_DIR/config/horizon-oc/lang/"
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
@@ -28,7 +28,7 @@ namespace notification {
|
|||||||
}
|
}
|
||||||
fclose(flagFile);
|
fclose(flagFile);
|
||||||
|
|
||||||
std::string filename = "Horizon OC -" + std::to_string(std::time(nullptr)) + ".notify";
|
std::string filename = "hoc-" + std::to_string(std::time(nullptr)) + ".notify";
|
||||||
std::string fullPath = "sdmc:/config/ultrahand/notifications/" + filename;
|
std::string fullPath = "sdmc:/config/ultrahand/notifications/" + filename;
|
||||||
|
|
||||||
FILE* file = fopen(fullPath.c_str(), "w");
|
FILE* file = fopen(fullPath.c_str(), "w");
|
||||||
|
|||||||
Reference in New Issue
Block a user