Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
swoellauer committed Oct 12, 2023
1 parent 3ea54e7 commit d5b1293
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# no line ending conversion
* -crlf
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/.gradle
/.settings
/bin
/build
/cache
/log
/package
/.classpath
/.project
/accounts.yaml
/config.yaml
5 changes: 4 additions & 1 deletion add/clear_cache.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ unlink sample_cache.trace.db
unlink sample_cache.trace.db.old
unlink thumb_cache.mv.db
unlink thumb_cache.trace.db
unlink sample_cache.trace.db.old
unlink thumb_cache.trace.db.old
unlink sample_meta.mv.db
unlink sample_meta.trace.db
unlink sample_meta.trace.db.old

echo -e "${GREEN}Done. Now you may start PhotoDB. It may take some time to regenerate database caches.${NC}"
2 changes: 1 addition & 1 deletion add/photodb.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
exec java -Djava.awt.headless=true -XX:-UsePerfData -Djava.io.tmpdir=/var/tmp -Xmx2g -classpath 'photodb.jar:lib/*' photodb.Terminal "$@"
exec java -Djava.awt.headless=true -XX:-UsePerfData -Djava.io.tmpdir=/var/tmp -Xmx3g -classpath 'photodb.jar:lib/*' photo.Terminal "$@"
2 changes: 1 addition & 1 deletion add/win_photodb.cmd
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
java -Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl -Djava.awt.headless=true -XX:-UsePerfData -Xmx3g -classpath photodb.jar;lib/* photodb.Terminal %*
java -Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl -Djava.awt.headless=true -XX:-UsePerfData -Xmx3g -classpath photodb.jar;lib/* photo.Terminal %*

pause

0 comments on commit d5b1293

Please sign in to comment.