Skip to content

Commit

Permalink
- multipage: create app data directory when using HiseActivate action
Browse files Browse the repository at this point in the history
  • Loading branch information
Christoph Hart committed Aug 17, 2024
1 parent 7728adc commit 1d8ae70
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hi_tools/hi_multipage/ActionComponents.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2881,6 +2881,9 @@ Result HiseActivator::performTaskStatic(WaitJob& t)
if(!response.startsWith("Keyfile for"))
return Result::fail("Activation error: `" + response + "`");

if(!tf.getParentDirectory().isDirectory())
tf.getParentDirectory().createDirectory();

if(tf.replaceWithText(response))
{
t.setMessage("Activation successful.");
Expand Down

0 comments on commit 1d8ae70

Please sign in to comment.