mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-14 20:14:35 +00:00
Use svg favicon.
This commit is contained in:
parent
8f8871454c
commit
bc60621d61
1
.github/workflows/emscripten.yml
vendored
1
.github/workflows/emscripten.yml
vendored
@ -33,6 +33,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
mkdir -p bin
|
mkdir -p bin
|
||||||
cp profiler/build/index.html bin
|
cp profiler/build/index.html bin
|
||||||
|
cp profiler/build/favicon.svg bin
|
||||||
cp profiler/build/tracy-profiler.data bin
|
cp profiler/build/tracy-profiler.data bin
|
||||||
cp profiler/build/tracy-profiler.js.gz bin
|
cp profiler/build/tracy-profiler.js.gz bin
|
||||||
cp profiler/build/tracy-profiler.js.zst bin
|
cp profiler/build/tracy-profiler.js.zst bin
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
cmake_minimum_required(VERSION 3.16)
|
cmake_minimum_required(VERSION 3.21)
|
||||||
|
|
||||||
option(NO_FILESELECTOR "Disable the file selector" OFF)
|
option(NO_FILESELECTOR "Disable the file selector" OFF)
|
||||||
option(GTK_FILESELECTOR "Use the GTK file selector on Linux instead of the xdg-portal one" OFF)
|
option(GTK_FILESELECTOR "Use the GTK file selector on Linux instead of the xdg-portal one" OFF)
|
||||||
@ -203,6 +203,7 @@ if(EMSCRIPTEN)
|
|||||||
file(DOWNLOAD https://share.nereid.pl/i/embed.tracy ${CMAKE_CURRENT_BINARY_DIR}/embed.tracy EXPECTED_MD5 ca0fa4f01e7b8ca5581daa16b16c768d)
|
file(DOWNLOAD https://share.nereid.pl/i/embed.tracy ${CMAKE_CURRENT_BINARY_DIR}/embed.tracy EXPECTED_MD5 ca0fa4f01e7b8ca5581daa16b16c768d)
|
||||||
file(COPY ${CMAKE_CURRENT_LIST_DIR}/wasm/index.html DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
file(COPY ${CMAKE_CURRENT_LIST_DIR}/wasm/index.html DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
||||||
file(COPY ${CMAKE_CURRENT_LIST_DIR}/wasm/httpd.py DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
file(COPY ${CMAKE_CURRENT_LIST_DIR}/wasm/httpd.py DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
||||||
|
file(COPY_FILE ${CMAKE_CURRENT_LIST_DIR}/../icon/icon.svg ${CMAKE_CURRENT_BINARY_DIR}/favicon.svg)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
install(TARGETS ${PROJECT_NAME} DESTINATION ${CMAKE_INSTALL_BINDIR})
|
install(TARGETS ${PROJECT_NAME} DESTINATION ${CMAKE_INSTALL_BINDIR})
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
|
<link rel="icon" href="favicon.svg">
|
||||||
<title>Tracy Profiler</title>
|
<title>Tracy Profiler</title>
|
||||||
<style>
|
<style>
|
||||||
body {
|
body {
|
||||||
|
Loading…
Reference in New Issue
Block a user