← All tasks
cppflameshot-org/flameshot #1453Not a task: not reproduced

Unnecessary "share/*" directories installed on Windows

envgap__flameshot-org__flameshot-1453

01 / FAILURE SIGNATURE

As reported upstream

No identifying execution failure has been captured.
Not a benchmark task.
  • In a clean container the reported failure did not reproduce, or the known fix did not make the project run.

02 / ENVIRONMENT RECIPE

Base commit
988dcab9de7c61f24ecab373d2fc3829904eb67b
Manifest
src/CMakeLists.txt
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

flameshot-org/flameshot #1453 · read the original issue
**Flameshot version**

(All versions)



**Describe the bug**

There are lots of Linux-only files installed when Windows MSI package is installed:



![图片](https://user-images.githubusercontent.com/8443926/110835050-4cb5e500-826c-11eb-8be4-c4e77e08a7a7.png)





Probably we should add an `if()` statement in `src/CMakeLists.txt` file and do not call those `configure_file()` instructions on Windows/Mac platform.



**Expected behavior**

Unnecessary files under `C:\Program Files\Flameshot\share\` should not exist.



**System Information**

Any Windows system

Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]